mirror of
https://github.com/Kitware/CMake.git
synced 2026-05-04 21:30:01 -05:00
COMP: Fix new cmSystemTools file time methods on Windows.
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user