com php-src: extend error map: win32/winutil.c

[email protected] (Anatol Belski)
Newsgroups php.cvs
Message-ID <[email protected]>
Commit:    62bec0e212367b52d2a8615cd043930671e27ad1
Author:    Anatol Belski <[email protected]>         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           }
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.