From 9b8404a30516b629ad9ebc7322d58b18ce034858 Mon Sep 17 00:00:00 2001 From: Brad King Date: Mon, 14 Apr 2008 12:44:01 -0400 Subject: COMP: Fix new cmSystemTools file time methods on Windows. --- Source/cmSystemTools.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- cgit v0.12