Brown paper bag fix for MinGW 64-bit stat
commitd5e31235f2df3d54930c79f46fb7a7e2394899d0
authorJohannes Schindelin <johannes.schindelin@gmx.de>
Sat, 7 Mar 2009 14:37:18 +0000 (7 15:37 +0100)
committerJunio C Hamano <gitster@pobox.com>
Sat, 7 Mar 2009 20:22:13 +0000 (7 12:22 -0800)
tree9e402d6b7bd63207e64d48faa4156ee798b09884
parentd0baf91db871fdd129057d7844d17457575698ba
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>
compat/mingw.h