cvs: php-src(PHP_4_3) / NEWS /ext/standard file.c

From: Date: Sun, 27 Jul 2003 18:46:03 +0000
Subject: cvs: php-src(PHP_4_3) / NEWS /ext/standard file.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-22818@lists.php.net to get a copy of this message
iliaa Sun Jul 27 14:46:03 2003 EDT Modified files: (Branch: PHP_4_3) /php-src NEWS /php-src/ext/standard file.c Log: MFH: Fixed bug #24557 (make fclose() respect refcount on the resource). Index: php-src/NEWS diff -u php-src/NEWS:1.1247.2.306 php-src/NEWS:1.1247.2.307 --- php-src/NEWS:1.1247.2.306 Sun Jul 27 14:16:47 2003 +++ php-src/NEWS Sun Jul 27 14:46:03 2003 @@ -34,6 +34,8 @@ - Fixed bug #24573 (debug_backtrace() crashes if $this set to null). (Jani) - Fixed bug #24560 (parse_url() incorrectly handling certain file:// based schemas). (Ilia) +- Fixed bug #24557 (make fclose() respect refcount on the resource). + (Wez, Ilia) - Fixed bug #24537 (apache2 compile misses some include directories). (Jani) - Fixed bug #24535 (ext/mysql: crash when retrieving data from unbuffered result after the original connection has been changed). (Ilia) Index: php-src/ext/standard/file.c diff -u php-src/ext/standard/file.c:1.279.2.31 php-src/ext/standard/file.c:1.279.2.32 --- php-src/ext/standard/file.c:1.279.2.31 Thu Jul 24 11:23:14 2003 +++ php-src/ext/standard/file.c Sun Jul 27 14:46:03 2003 @@ -21,7 +21,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: file.c,v 1.279.2.31 2003/07/24 15:23:14 wez Exp $ */ +/* $Id: file.c,v 1.279.2.32 2003/07/27 18:46:03 iliaa Exp $ */ /* Synced with php 3.0 revision 1.218 1999-06-16 [ssb] */ @@ -1156,7 +1156,7 @@ } php_stream_from_zval(stream, arg1); - php_stream_close(stream); + zend_list_delete(stream->rsrc_id); RETURN_TRUE; }

« previous php.cvs (#22818) next »