[cmake-commits] king committed cmLocalGenerator.cxx 1.149 1.150

cmake-commits at cmake.org cmake-commits at cmake.org
Thu Sep 21 15:35:43 EDT 2006


Update of /cvsroot/CMake/CMake/Source
In directory public:/mounts/ram/cvs-serv10075/Source

Modified Files:
	cmLocalGenerator.cxx 
Log Message:
BUG: Need to escape spaces in custom command line arguments.


Index: cmLocalGenerator.cxx
===================================================================
RCS file: /cvsroot/CMake/CMake/Source/cmLocalGenerator.cxx,v
retrieving revision 1.149
retrieving revision 1.150
diff -u -d -r1.149 -r1.150
--- cmLocalGenerator.cxx	21 Sep 2006 19:30:06 -0000	1.149
+++ cmLocalGenerator.cxx	21 Sep 2006 19:35:41 -0000	1.150
@@ -2257,7 +2257,7 @@
     {
     for(const char* c = str; *c; ++c)
       {
-      if(*c == '\\' || *c == '\'' || *c == '"' || *c == ';')
+      if(*c == '\\' || *c == '\'' || *c == '"' || *c == ';' || *c == ' ')
         {
         result += "\\";
         }



More information about the Cmake-commits mailing list