[Unison-hackers] Fwd: [unison-svn] r273 - branches/2.27/src/uimacnew

Alan Schmitt alan.schmitt at polytechnique.org
Tue Apr 15 04:08:42 EDT 2008


I just realized this commit message never made it to the list.

Alan

Begin forwarded message:

> From: unison-hackers-owner at lists.seas.upenn.edu
> Date: 29 mars 2008 17:40:12 HNEC
> To: schmitta at seas.upenn.edu
> Subject: [unison-svn] r273 - branches/2.27/src/uimacnew
>
> You are not allowed to post to this mailing list, and your message has
> been automatically rejected.  If you think that your messages are
> being rejected in error, contact the mailing list owner at
> unison-hackers-owner at lists.seas.upenn.edu.
>
>
> From: ALAN SCHMITT <schmitta at seas.upenn.edu>
> Date: 29 mars 2008 17:40:10 HNEC
> To: unison-hackers at lists.seas.upenn.edu
> Subject: [unison-svn] r273 - branches/2.27/src/uimacnew
>
>
> Author: schmitta
> Date: 2008-03-29 12:40:01 -0400 (Sat, 29 Mar 2008)
> New Revision: 273
>
> Modified:
>   branches/2.27/src/uimacnew/Bridge.m
>   branches/2.27/src/uimacnew/MyController.m
> Log:
> Removing warnings:
> - using fileSystemRepresentation instead of deprecated cString (the  
> behavior is identical for ASCII)
> - including caml/signals.h so that caml_enter_blocking_section and  
> caml_loave_blocking_section are actually defined (this could have an  
> influence on some scheduling bugs)
>
>
>
> Modified: branches/2.27/src/uimacnew/Bridge.m
> ===================================================================
> --- branches/2.27/src/uimacnew/Bridge.m	2008-02-18 13:47:44 UTC (rev  
> 272)
> +++ branches/2.27/src/uimacnew/Bridge.m	2008-03-29 16:40:01 UTC (rev  
> 273)
> @@ -12,6 +12,7 @@
> #include <caml/alloc.h>
> #include <caml/mlvalues.h>
> #include <caml/memory.h>
> +#include <caml/signals.h>
> #import <ExceptionHandling/NSExceptionHandler.h>
>
> #include <pthread.h>
> @@ -181,7 +182,7 @@
> 						args[argCount] = caml_copy_string(str);
> 						break;
> 					case 'S':
> -						str = [va_arg(cs->args, NSString *) cString];
> +						str = [va_arg(cs->args, NSString *) fileSystemRepresentation];
> 						args[argCount] = caml_copy_string(str);
> 						break;
> 					case 'n':
>
> Modified: branches/2.27/src/uimacnew/MyController.m
> ===================================================================
> --- branches/2.27/src/uimacnew/MyController.m	2008-02-18 13:47:44  
> UTC (rev 272)
> +++ branches/2.27/src/uimacnew/MyController.m	2008-03-29 16:40:01  
> UTC (rev 273)
> @@ -920,7 +920,7 @@
>     // [bundle pathForResource:@"cltool" ofType:nil];
>
>     if (exec_path == nil) return;
> -    char *args[] = { "-f", (char *)[exec_path cString],
> +    char *args[] = { "-f", (char *)[exec_path  
> fileSystemRepresentation],
> 		     "/usr/bin/unison", NULL };
>
>     myFlags = kAuthorizationFlagDefaults;
>
>
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.seas.upenn.edu/pipermail/unison-hackers/attachments/20080415/d1022ee8/attachment.htm
-------------- next part --------------
A non-text attachment was scrubbed...
Name: PGP.sig
Type: application/pgp-signature
Size: 186 bytes
Desc: This is a digitally signed message part
Url : http://lists.seas.upenn.edu/pipermail/unison-hackers/attachments/20080415/d1022ee8/PGP.sig


More information about the Unison-hackers mailing list