mirror of
https://github.com/php/php-src.git
synced 2025-08-16 05:58:45 +02:00
Merge branch 'PHP-7.1'
* PHP-7.1: fix wrong error check
This commit is contained in:
commit
1507f30d15
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue