summaryrefslogtreecommitdiff
path: root/sigchain.c
diff options
context:
space:
mode:
authorLibravatar Johannes Sixt <j6t@kdbg.org>2010-02-25 21:03:44 +0100
committerLibravatar Junio C Hamano <gitster@pobox.com>2010-02-25 12:27:38 -0800
commit3fdcdbdf301dadb7af58fe038501f0af6419a2e0 (patch)
treea93e6858dfc1b9db2bd6fd71eff8a3ece8d2f9d5 /sigchain.c
parentMerge branch 'maint' (diff)
downloadtgif-3fdcdbdf301dadb7af58fe038501f0af6419a2e0.tar.xz
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>
Diffstat (limited to 'sigchain.c')
0 files changed, 0 insertions, 0 deletions