Brown paper bag fix for MinGW 64-bit stat
commitfc048d74273cbf98c412916dd3332d03bf334c79
authorJohannes Schindelin <johannes.schindelin@gmx.de>
Sat, 7 Mar 2009 14:19:39 +0000 (7 15:19 +0100)
committerJohannes Schindelin <johannes.schindelin@gmx.de>
Sat, 7 Mar 2009 14:32:34 +0000 (7 15:32 +0100)
tree9d0fdf3fd05a4e7ee1d8921174e38d0e2dc788f9
parent081c091d507cc2e7b8f318d9e999335d9e96caf8
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>
compat/mingw.h