summaryrefslogtreecommitdiff
path: root/win32/winutil.c
diff options
context:
space:
mode:
authorAnatol Belski <ab@php.net>2017-12-07 23:05:19 +0100
committerAnatol Belski <ab@php.net>2017-12-08 19:23:18 +0100
commit2fbdaec03cdbda901cbd1b69898a3e3f265536bc (patch)
treee947682707edfe5701a7fb1b9eb823e506e0e367 /win32/winutil.c
parent17d621e7d3bc0a97d1ddddeb3e7fbdea25548637 (diff)
downloadphp-git-2fbdaec03cdbda901cbd1b69898a3e3f265536bc.tar.gz
Revamp unlink() implementation and improve error handling
Diffstat (limited to 'win32/winutil.c')
-rw-r--r--win32/winutil.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/win32/winutil.c b/win32/winutil.c
index 34dda95498..e1f819ac5e 100644
--- a/win32/winutil.c
+++ b/win32/winutil.c
@@ -371,6 +371,7 @@ PHP_WINUTIL_API int php_win32_code_to_errno(unsigned long w32Err)
/* 258 */ , { WAIT_TIMEOUT, ETIME}
/* 267 */ , { ERROR_DIRECTORY , ENOTDIR }
+ /* 336 */ , { ERROR_DIRECTORY_NOT_SUPPORTED , EISDIR }
/* 996 */ , { ERROR_IO_INCOMPLETE , EAGAIN }
/* 997 */ , { ERROR_IO_PENDING , EAGAIN }