Browse Source

Fixed bug #24557 (make fclose() respect refcount on the resource).

PEAR_1_4DEV
Ilia Alshanetsky 23 years ago
parent
commit
cd4a281364
  1. 2
      ext/standard/file.c

2
ext/standard/file.c

@ -763,7 +763,7 @@ PHPAPI PHP_FUNCTION(fclose)
}
php_stream_from_zval(stream, arg1);
php_stream_close(stream);
zend_list_delete(stream->rsrc_id);
RETURN_TRUE;
}

Loading…
Cancel
Save