1
0
mirror of https://github.com/git/git.git synced 2024-10-22 00:38:12 +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
vcbuild
win32
basename.c
bswap.h
cygwin.c
cygwin.h
fopen.c
hstrerror.c
inet_ntop.c
inet_pton.c
memmem.c
mingw.c
mingw.h
mkdtemp.c
mkstemps.c
mmap.c
msvc.c
msvc.h
pread.c
qsort.c
setenv.c
snprintf.c
strcasestr.c
strlcpy.c
strtoumax.c
unsetenv.c
win32.h
win32mmap.c
winansi.c