1
0
mirror of https://github.com/git/git.git synced 2024-09-28 16:13:01 +02:00
git/compat
Johannes Sixt a6d15bc335 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>
2010-01-16 18:16:13 -08:00
..
fnmatch
nedmalloc
regex Change regerror() declaration from K&R style to ANSI C (C89) 2009-09-18 20:00:42 -07:00
vcbuild Merge branch 'ef/msys-imap' 2009-11-17 22:03:00 -08:00
win32 MSVC: Windows-native implementation for subset of Pthreads API 2010-01-16 18:16:06 -08:00
basename.c
bswap.h Explicitly truncate bswap operand to uint32_t 2009-11-25 00:16:38 -08:00
cygwin.c
cygwin.h
fopen.c
hstrerror.c
inet_ntop.c
inet_pton.c
memmem.c
mingw.c Do not use date.c:tm_to_time_t() from compat/mingw.c 2010-01-16 18:16:13 -08:00
mingw.h MSVC: Windows-native implementation for subset of Pthreads API 2010-01-16 18:16:06 -08:00
mkdtemp.c
mkstemps.c
mmap.c
msvc.c Add platform files for porting to MSVC 2009-09-18 20:00:42 -07:00
msvc.h MSVC: Fix an "incompatible pointer types" compiler warning 2010-01-16 16:43:55 -08:00
pread.c
qsort.c
setenv.c
snprintf.c Test for WIN32 instead of __MINGW32_ 2009-09-18 20:00:42 -07:00
strcasestr.c
strlcpy.c
strtoumax.c
unsetenv.c
win32.h Make usage of windows.h lean and mean 2009-09-18 20:00:42 -07:00
win32mmap.c MSVC: Add support for building with NO_MMAP 2009-11-08 17:59:12 -08:00
winansi.c Make usage of windows.h lean and mean 2009-09-18 20:00:42 -07:00