From 23c6b90080a808de17c739bf7cd84d17682727d7 Mon Sep 17 00:00:00 2001 From: Brad King Date: Fri, 5 Oct 2007 10:03:16 -0400 Subject: [PATCH] BUG: Fix call to SetFileTime to set it on the proper file. --- Source/cmSystemTools.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/cmSystemTools.cxx b/Source/cmSystemTools.cxx index 1c2ecc9dc..e7648210b 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; }