[Unison-hackers] [unison-svn] r297 - trunk/src

ALAN SCHMITT schmitta at seas.upenn.edu
Fri Jun 27 12:26:06 EDT 2008


Author: schmitta
Date: 2008-06-27 12:26:02 -0400 (Fri, 27 Jun 2008)
New Revision: 297

Modified:
   trunk/src/RECENTNEWS
   trunk/src/mkProjectInfo.ml
   trunk/src/os.ml
Log:
fix quoting for Unix


Modified: trunk/src/RECENTNEWS
===================================================================
--- trunk/src/RECENTNEWS	2008-06-27 16:21:22 UTC (rev 296)
+++ trunk/src/RECENTNEWS	2008-06-27 16:26:02 UTC (rev 297)
@@ -1,3 +1,8 @@
+CHANGES FROM VERSION 2.30.2
+
+fix quoting for Unix
+
+-------------------------------
 CHANGES FROM VERSION 2.30.1
 
 - Fixed handling of paths containing spaces when using rsync

Modified: trunk/src/mkProjectInfo.ml
===================================================================
--- trunk/src/mkProjectInfo.ml	2008-06-27 16:21:22 UTC (rev 296)
+++ trunk/src/mkProjectInfo.ml	2008-06-27 16:26:02 UTC (rev 297)
@@ -83,3 +83,4 @@
 
 
 
+

Modified: trunk/src/os.ml
===================================================================
--- trunk/src/os.ml	2008-06-27 16:21:22 UTC (rev 296)
+++ trunk/src/os.ml	2008-06-27 16:26:02 UTC (rev 297)
@@ -41,7 +41,7 @@
   if Util.osType = `Win32 && not Util.isCygwin then
     "\"" ^ s ^ "\""
   else
-    "'" ^ Util.replacesubstring s "'" "'\''" ^ "'"
+    "'" ^ Util.replacesubstring s "'" "'\\''" ^ "'"
 
 (*****************************************************************************)
 (*                      QUERYING THE FILESYSTEM                              *)



More information about the Unison-hackers mailing list