mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-02-17 18:37:33 +00:00
Fix MS-Windows error when a directory on PATH doesn't exist
* src/w32.c (faccessat): Support more MS-Windows native error codes that should be translated to ENOENT. (Bug#37576)
This commit is contained in:
parent
9cd3b50ca8
commit
6a1a87f49c
1 changed files with 4 additions and 0 deletions
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Reference in a new issue