diff options
author | Michael Kaufmann <mail@michael-kaufmann.ch> | 2018-02-05 21:57:39 +0100 |
---|---|---|
committer | Michael Kaufmann <mail@michael-kaufmann.ch> | 2018-02-05 22:02:10 +0100 |
commit | d25b0503795f1fbf557632ce870298f52f2a78c1 (patch) | |
tree | f3e73d71451c73ab3d6e39b71a057de92edd91b9 /src/Makefile.inc | |
parent | 84ad1fd3047815f9c6e78728bb351b828eac10b1 (diff) | |
download | curl-d25b0503795f1fbf557632ce870298f52f2a78c1.tar.gz |
time-cond: fix reading the file modification time on Windows
On Windows, stat() may adjust the unix file time by a daylight saving time
offset. Avoid this by calling GetFileTime() instead.
Fixes #2164
Closes #2204
Diffstat (limited to 'src/Makefile.inc')
-rw-r--r-- | src/Makefile.inc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/Makefile.inc b/src/Makefile.inc index d3c7c2bbf..e0506c7f5 100644 --- a/src/Makefile.inc +++ b/src/Makefile.inc @@ -37,6 +37,7 @@ CURL_CFILES = \ tool_dirhie.c \ tool_doswin.c \ tool_easysrc.c \ + tool_filetime.c \ tool_formparse.c \ tool_getparam.c \ tool_getpass.c \ @@ -77,6 +78,7 @@ CURL_HFILES = \ tool_dirhie.h \ tool_doswin.h \ tool_easysrc.h \ + tool_filetime.h \ tool_formparse.h \ tool_getparam.h \ tool_getpass.h \ |