summaryrefslogtreecommitdiff
path: root/t/t4211/sha1
diff options
context:
space:
mode:
authorLibravatar Johannes Schindelin <Johannes.Schindelin@gmx.de>2021-04-16 13:21:01 +0200
committerLibravatar Junio C Hamano <gitster@pobox.com>2021-04-16 12:05:32 -0700
commit9160068ac6ec52d119c97bf778c44787b93d81d1 (patch)
tree27234f7af23630c155fcbce4081349b889460ab2 /t/t4211/sha1
parentGit 2.31.1 (diff)
downloadtgif-9160068ac6ec52d119c97bf778c44787b93d81d1.tar.xz
msvc: avoid calling `access("NUL", flags)`
Apparently this is not supported with Microsoft's Universal C Runtime. So let's not actually do that. Instead, just return success because we _know_ that we expect the `NUL` device to be present. Side note: it is possible to turn off the "Null device driver" and thereby disable `NUL`. Too many things are broken if this driver is disabled, therefore it is not worth bothering to try to detect its presence when `access()` is called. Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t4211/sha1')
0 files changed, 0 insertions, 0 deletions