summaryrefslogtreecommitdiff
path: root/t/lib-httpd.sh
diff options
context:
space:
mode:
authorLibravatar Johannes Sixt <j6t@kdbg.org>2010-01-15 21:12:21 +0100
committerLibravatar Junio C Hamano <gitster@pobox.com>2010-01-16 18:16:13 -0800
commita6d15bc33529f923b205930d0a58fe6226570dc1 (patch)
treef2519cff4c69e62d9818c692318b6de45627d2f9 /t/lib-httpd.sh
parentMSVC: Windows-native implementation for subset of Pthreads API (diff)
downloadtgif-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/lib-httpd.sh')
0 files changed, 0 insertions, 0 deletions