com php-src: cleanup (we don't have to duplicate elements of stream_filters_hash): main/streams/filter.c

From: Date: Wed, 13 Aug 2014 13:00:13 +0000
Subject: com php-src: cleanup (we don't have to duplicate elements of stream_filters_hash): main/streams/filter.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-79838@lists.php.net to get a copy of this message
Commit: b59cc8de23cb73d57ac6e1bcb5c84d238c9e60ae Author: Dmitry Stogov <dmitry@zend.com> Wed, 13 Aug 2014 17:00:13 +0400 Parents: 9fea4348fd7a3f8ed19d895a644bbd6c430b6dfe Branches: phpng Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=b59cc8de23cb73d57ac6e1bcb5c84d238c9e60ae Log: cleanup (we don't have to duplicate elements of stream_filters_hash) Changed paths: M main/streams/filter..c Diff: diff --git a/main/streams/filter.c b/main/streams/filter..c index d2411c9..a74802e 100644 --- a/main/streams/filter.c +++ b/main/streams/filter.c @@ -60,7 +60,6 @@ PHPAPI int php_stream_filter_register_factory_volatile(const char *filterpattern if (!FG(stream_filters)) { ALLOC_HASHTABLE(FG(stream_filters)); zend_hash_init(FG(stream_filters), zend_hash_num_elements(&stream_filters_hash), NULL, NULL, 1); -//??? zend_hash_copy(FG(stream_filters), &stream_filters_hash, NULL, &tmpfactory, sizeof(php_stream_filter_factory)); zend_hash_copy(FG(stream_filters), &stream_filters_hash, NULL); }

« previous php.cvs (#79838) next »