diff options
author | Johannes Sixt <j6t@kdbg.org> | 2010-01-15 21:12:21 +0100 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2010-01-16 18:16:13 -0800 |
commit | a6d15bc33529f923b205930d0a58fe6226570dc1 (patch) | |
tree | f2519cff4c69e62d9818c692318b6de45627d2f9 /t/valgrind | |
parent | MSVC: Windows-native implementation for subset of Pthreads API (diff) | |
download | tgif-a6d15bc33529f923b205930d0a58fe6226570dc1.tar.xz |
Do not use date.c:tm_to_time_t() from compat/mingw.c
To implement gettimeofday(), a broken-down UTC time was requested from the
system using GetSystemTime(), then tm_to_time_t() was used to convert it
to a time_t because it does not look at the current timezone, which
mktime() would do.
Use GetSystemTimeAsFileTime() and a different conversion path to avoid this
back-reference from the compatibility layer to the generic code.
Signed-off-by: Johannes Sixt <j6t@kdbg.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/valgrind')
0 files changed, 0 insertions, 0 deletions