pollita Tue Jun 17 14:38:56 2003 EDT Modified files: /php4/ext/standard streamsfuncs.c Log: No need to allocate a hashtable when return_value is just going to be overwriten Index: php4/ext/standard/streamsfuncs.c diff -u php4/ext/standard/streamsfuncs.c:1.17 php4/ext/standard/streamsfuncs.c:1.18 --- php4/ext/standard/streamsfuncs.c:1.17 Mon Jun 16 14:19:14 2003 +++ php4/ext/standard/streamsfuncs.c Tue Jun 17 14:38:56 2003 @@ -17,7 +17,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: streamsfuncs.c,v 1.17 2003/06/16 18:19:14 pollita Exp $ */ +/* $Id: streamsfuncs.c,v 1.18 2003/06/17 18:38:56 pollita Exp $ */ #include "php.h" #include "php_globals.h" @@ -726,7 +726,6 @@ context = decode_context_param(zcontext TSRMLS_CC); ZEND_VERIFY_RESOURCE(context); - array_init(return_value); *return_value = *context->options; zval_copy_ctor(return_value);
-- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php