Merge branch 'PHP-7.1'

* PHP-7.1:
  fix wrong error check
This commit is contained in:
Anatol Belski 2017-05-17 12:51:46 +02:00
commit 1507f30d15

View file

@ -372,7 +372,7 @@ __forceinline static FILE *php_win32_ioutil_fopen(const char *patha, const char
free(pathw); free(pathw);
free(modew); free(modew);
if (0 > ret) { if (!ret) {
_set_errno(err); _set_errno(err);
} }
return ret; return ret;