summaryrefslogtreecommitdiff
path: root/t/t4101/diff.3-2
diff options
context:
space:
mode:
authorLibravatar Johannes Sixt <j6t@kdbg.org>2017-05-29 22:27:35 +0200
committerLibravatar Junio C Hamano <gitster@pobox.com>2017-06-02 10:40:04 +0900
commite5b313442ab7c700d0851e9dbe7d2b029e3893e5 (patch)
tree33b59e0d9f56bd9b405bcb8a19d84e9c81b1ed03 /t/t4101/diff.3-2
parentmingw: verify that paths are not mistaken for remote nicknames (diff)
downloadtgif-e5b313442ab7c700d0851e9dbe7d2b029e3893e5.tar.xz
mingw_fopen: report ENOENT for invalid file names
On Windows, certain characters are prohibited in file names, most prominently the colon. When fopen() is called with such an invalid file name, the underlying Windows API actually reports a particular error, but since there is no suitable errno value, this error is translated to EINVAL. Detect the case and report ENOENT instead. Signed-off-by: Johannes Sixt <j6t@kdbg.org> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t4101/diff.3-2')
0 files changed, 0 insertions, 0 deletions