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

From: Date: Mon, 28 Jul 2003 14:42:56 +0000
Subject: cvs: php-src(PHP_4_3) /ext/standard file.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-22828@lists.php.net to get a copy of this message
iliaa Mon Jul 28 10:42:56 2003 EDT Modified files: (Branch: PHP_4_3) /php-src/ext/standard file.c Log: MFH: Make pclose() respect references. Index: php-src/ext/standard/file.c diff -u php-src/ext/standard/file.c:1.279.2.32 php-src/ext/standard/file.c:1.279.2.33 --- php-src/ext/standard/file.c:1.279.2.32 Sun Jul 27 14:46:03 2003 +++ php-src/ext/standard/file.c Mon Jul 28 10:42:56 2003 @@ -21,7 +21,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: file.c,v 1.279.2.32 2003/07/27 18:46:03 iliaa Exp $ */ +/* $Id: file.c,v 1.279.2.33 2003/07/28 14:42:56 iliaa Exp $ */ /* Synced with php 3.0 revision 1.218 1999-06-16 [ssb] */ @@ -1242,7 +1242,8 @@ php_stream_from_zval(stream, arg1); - RETURN_LONG(php_stream_close(stream)); + zend_list_delete(stream->rsrc_id); + RETURN_LONG(FG(pclose_ret)); } /* }}} */

« previous php.cvs (#22828) next »