cvs: php-src /ext/standard file.c

From: Date: Mon, 28 Jul 2003 14:42:43 +0000
Subject: cvs: php-src /ext/standard file.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-22827@lists.php.net to get a copy of this message
iliaa Mon Jul 28 10:42:43 2003 EDT Modified files: /php-src/ext/standard file.c Log: Make pclose() respect references. Index: php-src/ext/standard/file.c diff -u php-src/ext/standard/file.c:1.352 php-src/ext/standard/file.c:1.353 --- php-src/ext/standard/file.c:1.352 Sun Jul 27 14:45:02 2003 +++ php-src/ext/standard/file.c Mon Jul 28 10:42:42 2003 @@ -21,7 +21,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: file.c,v 1.352 2003/07/27 18:45:02 iliaa Exp $ */ +/* $Id: file.c,v 1.353 2003/07/28 14:42:42 iliaa Exp $ */ /* Synced with php 3.0 revision 1.218 1999-06-16 [ssb] */ @@ -849,7 +849,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 (#22827) next »