[cmake-commits] king committed cmSystemTools.cxx 1.350 1.351

cmake-commits at cmake.org cmake-commits at cmake.org
Fri Oct 5 10:03:18 EDT 2007


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

Modified Files:
	cmSystemTools.cxx 
Log Message:
BUG: Fix call to SetFileTime to set it on the proper file.


Index: cmSystemTools.cxx
===================================================================
RCS file: /cvsroot/CMake/CMake/Source/cmSystemTools.cxx,v
retrieving revision 1.350
retrieving revision 1.351
diff -u -d -r1.350 -r1.351
--- cmSystemTools.cxx	5 Oct 2007 13:46:28 -0000	1.350
+++ cmSystemTools.cxx	5 Oct 2007 14:03:16 -0000	1.351
@@ -2049,7 +2049,7 @@
     {
     return false;
     }
-  if(!SetFileTime(hFrom, &timeCreation, &timeLastAccess, &timeLastWrite))
+  if(!SetFileTime(hTo, &timeCreation, &timeLastAccess, &timeLastWrite))
     {
     return false;
     }



More information about the Cmake-commits mailing list