aboutsummaryrefslogtreecommitdiff
path: root/run-command.c
diff options
context:
space:
mode:
authorJohannes Sixt <j6t@kdbg.org>2010-01-15 21:12:21 +0100
committerJunio C Hamano <gitster@pobox.com>2010-01-16 18:16:13 -0800
commita6d15bc33529f923b205930d0a58fe6226570dc1 (patch)
treef2519cff4c69e62d9818c692318b6de45627d2f9 /run-command.c
parent44626dc7d562d23b54d969bb73ddeda12d5602e9 (diff)
downloadgit-a6d15bc33529f923b205930d0a58fe6226570dc1.tar.gz
git-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 'run-command.c')
0 files changed, 0 insertions, 0 deletions