mirror of
https://github.com/php/php-src.git
synced 2024-11-27 20:03:40 +08:00
Merge branch 'PHP-7.1'
* PHP-7.1: fix wrong error check
This commit is contained in:
commit
1507f30d15
@ -372,7 +372,7 @@ __forceinline static FILE *php_win32_ioutil_fopen(const char *patha, const char
|
||||
free(pathw);
|
||||
free(modew);
|
||||
|
||||
if (0 > ret) {
|
||||
if (!ret) {
|
||||
_set_errno(err);
|
||||
}
|
||||
return ret;
|
||||
|
Loading…
Reference in New Issue
Block a user