author | Johannes Sixt <johannes.sixt@telecom.at> | |
Fri, 7 Sep 2007 11:05:00 +0000 (13:05 +0200) | ||
committer | Johannes Sixt <johannes.sixt@telecom.at> | |
Thu, 26 Jun 2008 06:45:11 +0000 (08:45 +0200) | ||
commit | 7c0ffa1cb753f9b909dfb3bc7a5d5417b8de39c2 | |
tree | f073f742b0e75361c365f0ddd6979f5c766809d6 | tree | snapshot |
parent | 5411bdc4e4b170a57a61b2d486ab344896c41500 | commit | diff |
Windows: Add a custom implementation for utime().
This is a necessary pendant to our lstat implementation: MSVCRT's
implementations of lstat and utime do some adjustments if daylight
saving time is in effect, but our lstat implementation doesn't do these
adjustments and report the correct UTC time. With this implementation
we omit the adjustments in utime() as well and always write UTC.
Signed-off-by: Johannes Sixt <johannes.sixt@telecom.at>
This is a necessary pendant to our lstat implementation: MSVCRT's
implementations of lstat and utime do some adjustments if daylight
saving time is in effect, but our lstat implementation doesn't do these
adjustments and report the correct UTC time. With this implementation
we omit the adjustments in utime() as well and always write UTC.
Signed-off-by: Johannes Sixt <johannes.sixt@telecom.at>
compat/mingw.c | diff | blob | history | |
compat/mingw.h | diff | blob | history |