1
0
Fork 0
mirror of https://github.com/git/git.git synced 2024-06-01 12:26:32 +02:00
git/compat
Johannes Schindelin d5e31235f2 Brown paper bag fix for MinGW 64-bit stat
When overriding the identifier "stat" so that "struct stat" will be
substituted with "struct _stati64" everywhere, I tried to fix the calls
to the _function_ stat(), too, but I forgot to change the earlier
attempt "stat64" to "_stati64" there.

So, the stat() calls were overridden by calls to _stati64() instead.

Unfortunately, there is a function _stati64() so that I missed that
calls to stat() were not actually overridden by calls to mingw_lstat(),
but t4200-rerere.sh showed the error.

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Acked-by: Johannes Sixt <j6t@kdbg.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
2009-03-07 12:22:13 -08:00
..
fnmatch Use compatibility regex library for OSX/Darwin 2008-09-10 13:36:40 -07:00
regex Use compatibility regex library for OSX/Darwin 2008-09-10 13:36:40 -07:00
cygwin.c compat/cygwin.c: make runtime detection of lstat/stat lessor impact 2008-10-28 09:12:49 -07:00
cygwin.h cygwin: Use native Win32 API for stat 2008-09-30 14:30:06 -07:00
fopen.c compat/fopen.c: avoid clobbering the system defined fopen macro 2008-05-08 17:43:01 -07:00
hstrerror.c
inet_ntop.c Remove a couple of duplicated include 2007-11-05 20:50:38 -08:00
inet_pton.c Remove a couple of duplicated include 2007-11-05 20:50:38 -08:00
memmem.c
mingw.c MinGW: 64-bit file offsets 2009-03-05 15:08:53 -08:00
mingw.h Brown paper bag fix for MinGW 64-bit stat 2009-03-07 12:22:13 -08:00
mkdtemp.c
mmap.c
pread.c
qsort.c compat: Add simplified merge sort implementation from glibc 2008-02-06 22:35:28 -08:00
setenv.c
snprintf.c compat/snprintf.c: handle snprintf's that always return the # chars transmitted 2008-08-21 01:53:44 -07:00
strcasestr.c
strlcpy.c
strtoumax.c
unsetenv.c
win32.h mingw: move common functionality to win32.h 2008-09-30 14:30:06 -07:00
winansi.c Add ANSI control code emulation for the Windows console 2008-07-19 11:17:43 -07:00