[cmake-commits] king committed cmSystemTools.cxx 1.338 1.339

cmake-commits at cmake.org cmake-commits at cmake.org
Thu May 17 11:27:49 EDT 2007


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

Modified Files:
	cmSystemTools.cxx 
Log Message:
BUG: Fix ExpandListArgument when the string ends in a backslash.


Index: cmSystemTools.cxx
===================================================================
RCS file: /cvsroot/CMake/CMake/Source/cmSystemTools.cxx,v
retrieving revision 1.338
retrieving revision 1.339
diff -u -d -r1.338 -r1.339
--- cmSystemTools.cxx	12 Mar 2007 17:50:28 -0000	1.338
+++ cmSystemTools.cxx	17 May 2007 15:27:46 -0000	1.339
@@ -1152,6 +1152,11 @@
             {
             newArgVec.push_back(*c);
             }
+          else
+            {
+            // Terminate the loop properly.
+            --c;
+            }
           }
         } break;
       case '[':



More information about the Cmake-commits mailing list