]> granicus.if.org Git - curl/commit
tool_operate: Fix --remote-time incorrect times on Windows
authorJay Satiro <raysatiro@yahoo.com>
Fri, 11 Nov 2016 07:48:52 +0000 (02:48 -0500)
committerJay Satiro <raysatiro@yahoo.com>
Thu, 29 Dec 2016 02:19:40 +0000 (21:19 -0500)
commitee3c83f39c90126cabb9be896931725c32f22e09
tree6946a6c24c6e25d2612063d0f24b8b6845f5afa6
parent89b789884680134d5090c6de2e6b621e908b1902
tool_operate: Fix --remote-time incorrect times on Windows

- Use Windows API SetFileTime to set the file time instead of utime.

Avoid utime on Windows if possible because it may apply a daylight
saving time offset to our UTC file time.

Bug: https://curl.haxx.se/mail/archive-2016-11/0033.html
Reported-by: Tim
Closes https://github.com/curl/curl/pull/1121
docs/FAQ
src/tool_operate.c