cvs: php-src /ext/standard file.c
| From: | Ilia Alshanetsky | Date: | Sun, 27 Jul 2003 18:45:04 +0000 |
| Subject: | cvs: php-src /ext/standard file.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-22817@lists.php.net to get a copy of this message | ||
iliaa Sun Jul 27 14:45:04 2003 EDT
Modified files:
/php-src/ext/standard file.c
Log:
Fixed bug #24557 (make fclose() respect refcount on the resource).
Index: php-src/ext/standard/file.c
diff -u php-src/ext/standard/file.c:1.351 php-src/ext/standard/file.c:1.352
--- php-src/ext/standard/file.c:1.351 Sat Jun 28 16:06:13 2003
+++ php-src/ext/standard/file.c Sun Jul 27 14:45:02 2003
@@ -21,7 +21,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: file.c,v 1.351 2003/06/28 20:06:13 iliaa Exp $ */
+/* $Id: file.c,v 1.352 2003/07/27 18:45:02 iliaa Exp $ */
/* Synced with php 3.0 revision 1.218 1999-06-16 [ssb] */
@@ -763,7 +763,7 @@
}
php_stream_from_zval(stream, arg1);
- php_stream_close(stream);
+ zend_list_delete(stream->rsrc_id);
RETURN_TRUE;
}