diff options
author | Brad King <brad.king@kitware.com> | 2008-04-14 16:44:01 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2008-04-14 16:44:01 (GMT) |
commit | 9b8404a30516b629ad9ebc7322d58b18ce034858 (patch) | |
tree | d8f84b6fa9067867c55be120a3d0425720d22a6f /Source/cmSystemTools.cxx | |
parent | 703b8c822592d51d449930e1280c2a3dc92698e9 (diff) | |
download | CMake-9b8404a30516b629ad9ebc7322d58b18ce034858.zip CMake-9b8404a30516b629ad9ebc7322d58b18ce034858.tar.gz CMake-9b8404a30516b629ad9ebc7322d58b18ce034858.tar.bz2 |
COMP: Fix new cmSystemTools file time methods on Windows.
Diffstat (limited to 'Source/cmSystemTools.cxx')
-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 68ebb4f..4773755 100644 --- a/Source/cmSystemTools.cxx +++ b/Source/cmSystemTools.cxx @@ -2165,7 +2165,7 @@ bool cmSystemTools::FileTimeSet(const char* fname, cmSystemToolsFileTime* t) { #if defined(_WIN32) && !defined(__CYGWIN__) cmSystemToolsWindowsHandle h = - CreateFile(toFile, GENERIC_WRITE, 0, 0, OPEN_EXISTING, 0, 0); + CreateFile(fname, GENERIC_WRITE, 0, 0, OPEN_EXISTING, 0, 0); if(!h) { return false; |