summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/w32.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/w32.c b/src/w32.c
index 88e9aef338f..55e471f14c2 100644
--- 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: