cvs: php4 /ext/standard dir.c
| From: | Edin Kadribasic | Date: | Mon, 29 Jul 2002 13:13:51 +0000 |
| Subject: | cvs: php4 /ext/standard dir.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-13038@lists.php.net to get a copy of this message | ||
edink Mon Jul 29 09:13:51 2002 EDT
Modified files:
/php4/ext/standard dir.c
Log:
Fixed bug #14657 (patch by Steph Fox)
Index: php4/ext/standard/dir.c
diff -u php4/ext/standard/dir.c:1.92 php4/ext/standard/dir.c:1.93
--- php4/ext/standard/dir.c:1.92 Mon Jul 8 08:52:22 2002
+++ php4/ext/standard/dir.c Mon Jul 29 09:13:50 2002
@@ -16,7 +16,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: dir.c,v 1.92 2002/07/08 12:52:22 derick Exp $ */
+/* $Id: dir.c,v 1.93 2002/07/29 13:13:50 edink Exp $ */
/* {{{ includes/startup/misc */
@@ -158,7 +158,6 @@
object_init_ex(return_value, dir_class_entry_ptr);
add_property_stringl(return_value, "path", Z_STRVAL_PP(arg), Z_STRLEN_PP(arg), 1);
add_property_resource(return_value, "handle", dirp->rsrc_id);
- zend_list_addref(dirp->rsrc_id); /* might not be needed */
php_stream_auto_cleanup(dirp); /* so we don't get warnings under debug */
} else {
php_stream_to_zval(dirp, return_value);