projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9cd3b50
)
Fix MS-Windows error when a directory on PATH doesn't exist
author
Eli Zaretskii
<eliz@gnu.org>
Wed, 2 Oct 2019 16:42:43 +0000
(19:42 +0300)
committer
Eli Zaretskii
<eliz@gnu.org>
Wed, 2 Oct 2019 16:42:43 +0000
(19:42 +0300)
* src/w32.c (faccessat): Support more MS-Windows native error
codes that should be translated to ENOENT. (Bug#37576)
src/w32.c
patch
|
blob
|
history
diff --git
a/src/w32.c
b/src/w32.c
index 88e9aef338f66780f05dd7396f4d212df48a79bb..55e471f14c2866f6efa48664e4592932dd0927b4 100644
(file)
--- a/
src/w32.c
+++ b/
src/w32.c
@@
-4062,7
+4062,11
@@
faccessat (int dirfd, const char * path, int mode, int flags)
/* FALLTHROUGH */
FALLTHROUGH;
case ERROR_FILE_NOT_FOUND:
+ case ERROR_PATH_NOT_FOUND:
+ case ERROR_INVALID_DRIVE:
+ case ERROR_NOT_READY:
case ERROR_BAD_NETPATH:
+ case ERROR_BAD_NET_NAME:
errno = ENOENT;
break;
default: