com php-src: extend errno mapping: win32/winutil.c
| From: | Anatol Belski | Date: | Sat, 10 Dec 2016 10:17:07 +0000 |
| Subject: | com php-src: extend errno mapping: win32/winutil.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-96287@lists.php.net to get a copy of this message | ||
Commit: 8b82e2c2fe2d7fa232af5e32059037f5839e06e6
Author: Anatol Belski <ab@php.net> Sat, 10 Dec 2016 11:17:07 +0100
Parents: 0ad804ec9b186d10dd43a5bc2e42df53dc9e4b9c
Branches: PHP-7.1 master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=8b82e2c2fe2d7fa232af5e32059037f5839e06e6
Log:
extend errno mapping
Changed paths:
M win32/winutil.c
Diff:
diff --git a/win32/winutil.c b/win32/winutil.c
index cd009ca..04849c9 100644
--- a/win32/winutil.c
+++ b/win32/winutil.c
@@ -400,6 +400,7 @@ PHP_WINUTIL_API int php_win32_code_to_errno(unsigned long w32Err)
/* 1004 */ , { ERROR_INVALID_FLAGS , EINVAL }
/* 1113 */ , { ERROR_NO_UNICODE_TRANSLATION , EINVAL }
/* 1168 */ , { ERROR_NOT_FOUND , ENOENT }
+ /* 1224 */ , { ERROR_USER_MAPPED_FILE , EACCES }
/* 1816 */ , { ERROR_NOT_ENOUGH_QUOTA , ENOMEM }
, { ERROR_ABANDONED_WAIT_0 , EIO }
};