1
0
mirror of https://github.com/git/git.git synced 2024-09-30 12:32:09 +02:00
git/compat
Johannes Sixt 3fdcdbdf30 Windows: redirect f[re]open("/dev/null") to f[re]open("nul")
On Windows, the equivalent of "/dev/null" is "nul". This implements
compatibility wrappers around fopen() and freopen() that check for this
particular file name.

The new tests exercise code paths where this is relevant.

Signed-off-by: Johannes Sixt <j6t@kdbg.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
2010-02-25 12:27:38 -08:00
..
fnmatch
nedmalloc
regex msvc: Fix a compiler warning due to an incorrect pointer cast 2010-01-22 16:15:16 -08:00
vcbuild msvc: Fix an "unrecognized option" linker warning 2010-01-22 16:15:14 -08:00
win32 Typofixes outside documentation area 2010-02-03 21:28:17 -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 Windows: redirect f[re]open("/dev/null") to f[re]open("nul") 2010-02-25 12:27:38 -08:00
mingw.h Windows: redirect f[re]open("/dev/null") to f[re]open("nul") 2010-02-25 12:27:38 -08:00
mkdtemp.c
mkstemps.c
mmap.c
msvc.c
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
strcasestr.c
strlcpy.c
strtoumax.c
unsetenv.c
win32.h
win32mmap.c MSVC: Add support for building with NO_MMAP 2009-11-08 17:59:12 -08:00
winansi.c