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(modew);
if (0 > ret) {
if (!ret) {
_set_errno(err);
}
return ret;