1
0
mirror of https://github.com/git/git.git synced 2024-09-22 18:21:31 +02:00
git/compat
Erik Faye-Lund e93368d26e mingw: do not set errno to 0 on success
Currently do_lstat always sets errno to 0 on success. This incorrectly
overwrites previous errors.

Fetch the error-code into a temporary variable instead, and assign that
to errno on failure.

Signed-off-by: Erik Faye-Lund <kusmabite@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
2010-11-23 16:08:01 -08:00
..
fnmatch
nedmalloc Typos in code comments, an error message, documentation 2010-08-22 13:25:08 -07:00
regex Fix compat/regex ANSIfication on MinGW 2010-08-26 09:25:53 -07:00
vcbuild Merge branch 'maint-1.6.6' into maint 2010-04-19 01:28:27 -07:00
win32 Merge branch 'js/async-thread' 2010-06-21 06:02:45 -07:00
basename.c
bswap.h Don't redefine htonl and ntohl on big-endian 2010-03-31 14:21:39 -07:00
cygwin.c
cygwin.h
fopen.c
hstrerror.c
inet_ntop.c
inet_pton.c
memmem.c
mingw.c mingw: do not set errno to 0 on success 2010-11-23 16:08:01 -08:00
mingw.h Merge branch 'js/async-thread' 2010-06-21 06:02:45 -07:00
mkdtemp.c Fix gitmkdtemp: correct test for mktemp() return value 2010-02-25 12:08:22 -08:00
mmap.c
msvc.c
msvc.h
pread.c
qsort.c
setenv.c
snprintf.c
strcasestr.c
strlcpy.c
strtok_r.c compat: add strtok_r() 2010-08-14 19:35:38 -07:00
strtoumax.c
unsetenv.c
win32.h
win32mmap.c Fix "Out of memory? mmap failed" for files larger than 4GB on Windows 2010-05-20 16:11:06 -07:00
winansi.c