com php-src: extend error map: win32/winutil.c
| From: | Anatol Belski | Date: | Sat, 15 Apr 2017 15:27:45 +0000 |
| Subject: | com php-src: extend error map: win32/winutil.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-97619@lists.php.net to get a copy of this message | ||
Commit: 62bec0e212367b52d2a8615cd043930671e27ad1
Author: Anatol Belski <ab@php.net> Sat, 15 Apr 2017 17:27:45 +0200
Parents: 00c6ce0e00c26288183360b58974cc4bacdbe6d1
Branches: PHP-7.1 master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=62bec0e212367b52d2a8615cd043930671e27ad1
Log:
extend error map
Changed paths:
M win32/winutil.c
Diff:
diff --git a/win32/winutil.c b/win32/winutil.c
index b30ff03..8956ed6 100644
--- a/win32/winutil.c
+++ b/win32/winutil.c
@@ -297,9 +297,9 @@ PHP_WINUTIL_API int php_win32_code_to_errno(unsigned long w32Err)
/* 124 */ , { ERROR_INVALID_HANDLE , EINVAL }
#if 0
/* 125 */ , { 0 , 0 }
- /* 126 */ , { 0 , 0 }
- /* 127 */ , { 0 , 0 }
#endif
+ /* 126 */ , { ERROR_MOD_NOT_FOUND , ENOENT }
+ /* 127 */ , { ERROR_PROC_NOT_FOUND , ENOENT }
/* 128 */ , { ERROR_WAIT_NO_CHILDREN , ECHILD }
/* 129 */ , { ERROR_CHILD_NOT_COMPLETE , ECHILD }
/* 130 */ , { ERROR_DIRECT_ACCESS_HANDLE , EBADF }