diff options
author | Brad King <brad.king@kitware.com> | 2007-10-05 14:03:16 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2007-10-05 14:03:16 (GMT) |
commit | 23c6b90080a808de17c739bf7cd84d17682727d7 (patch) | |
tree | d9cefd9607823c56ff6eb6fdd50dfd1d141ddc15 | |
parent | 89dc3b0753d09d9c1b022189b9bfed0147fc214c (diff) | |
download | CMake-23c6b90080a808de17c739bf7cd84d17682727d7.zip CMake-23c6b90080a808de17c739bf7cd84d17682727d7.tar.gz CMake-23c6b90080a808de17c739bf7cd84d17682727d7.tar.bz2 |
BUG: Fix call to SetFileTime to set it on the proper file.
-rw-r--r-- | Source/cmSystemTools.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmSystemTools.cxx b/Source/cmSystemTools.cxx index 1c2ecc9..e764821 100644 --- a/Source/cmSystemTools.cxx +++ b/Source/cmSystemTools.cxx @@ -2049,7 +2049,7 @@ bool cmSystemTools::CopyFileTime(const char* fromFile, const char* toFile) { return false; } - if(!SetFileTime(hFrom, &timeCreation, &timeLastAccess, &timeLastWrite)) + if(!SetFileTime(hTo, &timeCreation, &timeLastAccess, &timeLastWrite)) { return false; } |