com php-src: cleanup (we don't have to duplicate elements of module_registry): sapi/cgi/cgi_main.c

From: Date: Wed, 13 Aug 2014 13:05:18 +0000
Subject: com php-src: cleanup (we don't have to duplicate elements of module_registry): sapi/cgi/cgi_main.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-79839@lists.php.net to get a copy of this message
Commit: c1c913c5f1f93179998c706db1ba9b1db9d13907 Author: Dmitry Stogov <dmitry@zend.com> Wed, 13 Aug 2014 17:05:18 +0400 Parents: b59cc8de23cb73d57ac6e1bcb5c84d238c9e60ae Branches: phpng Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=c1c913c5f1f93179998c706db1ba9b1db9d13907 Log: cleanup (we don't have to duplicate elements of module_registry) Changed paths: M sapi/cgi/cgi_main.c Diff: diff --git a/sapi/cgi/cgi_main.c b/sapi/cgi/cgi_main.c index 16f11fd..ff3889d 100644 --- a/sapi/cgi/cgi_main.c +++ b/sapi/cgi/cgi_main.c @@ -238,7 +238,6 @@ static void print_modules(TSRMLS_D) HashTable sorted_registry; zend_hash_init(&sorted_registry, 64, NULL, NULL, 1); -//??? zend_hash_copy(&sorted_registry, &module_registry, NULL, &tmp, sizeof(zend_module_entry)); zend_hash_copy(&sorted_registry, &module_registry, NULL); zend_hash_sort(&sorted_registry, zend_qsort, module_name_cmp, 0 TSRMLS_CC); zend_hash_apply(&sorted_registry, print_module_info TSRMLS_CC);

« previous php.cvs (#79839) next »