Commit 3ea748b7 authored by Alexandre Julliard's avatar Alexandre Julliard

Fetch again the file time to compare against to avoid rounding errors.

parent 195d4018
......@@ -574,6 +574,7 @@ static void test_CopyFileA(void)
ok(GetFileTime(hfile, NULL, NULL, &ft1), "GetFileTime error %ld\n", GetLastError());
ft1.dwLowDateTime -= 600000000; /* 60 second */
ok(SetFileTime(hfile, NULL, NULL, &ft1), "SetFileTime error %ld\n", GetLastError());
GetFileTime(hfile, NULL, NULL, &ft1); /* get the actual time back */
CloseHandle(hfile);
ret = GetTempFileNameA(temp_path, prefix, 0, dest);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment