[cmake-commits] alex committed cmListFileCache.h 1.17 1.18

cmake-commits at cmake.org cmake-commits at cmake.org
Fri May 11 08:36:08 EDT 2007


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

Modified Files:
	cmListFileCache.h 
Log Message:

BUG: const char* FilePath could point to a non-existent std::string for
commands used in a macro, using a std::string instead copies the contents so
this works (correct error message)

Alex


Index: cmListFileCache.h
===================================================================
RCS file: /cvsroot/CMake/CMake/Source/cmListFileCache.h,v
retrieving revision 1.17
retrieving revision 1.18
diff -u -d -r1.17 -r1.18
--- cmListFileCache.h	15 Mar 2006 16:02:04 -0000	1.17
+++ cmListFileCache.h	11 May 2007 12:36:05 -0000	1.18
@@ -52,7 +52,7 @@
 {
   std::string Name;
   std::vector<cmListFileArgument> Arguments;
-  const char* FilePath;
+  std::string FilePath;
   long Line;
 };
 



More information about the Cmake-commits mailing list