cvs: php-src /main main.c
| From: | Andrei Zmievski | Date: | Fri, 08 Dec 2006 19:13:31 +0000 |
| Subject: | cvs: php-src /main main.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-41992@lists.php.net to get a copy of this message | ||
andrei Fri Dec 8 19:13:31 2006 UTC
Modified files:
/php-src/main main.c
Log:
Don't use zend_ascii_hash_find() here -- module names are binary strings.
http://cvs.php.net/viewvc.cgi/php-src/main/main.c?r1=1.711&r2=1.712&diff_format=u
Index: php-src/main/main.c
diff -u php-src/main/main.c:1.711 php-src/main/main.c:1.712
--- php-src/main/main.c:1.711 Tue Dec 5 02:55:27 2006
+++ php-src/main/main.c Fri Dec 8 19:13:31 2006
@@ -18,7 +18,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: main.c,v 1.711 2006/12/05 02:55:27 stas Exp $ */
+/* $Id: main.c,v 1.712 2006/12/08 19:13:31 andrei Exp $ */
/* {{{ includes
*/
@@ -1764,7 +1764,7 @@
if (sapi_module.additional_functions) {
zend_module_entry *module;
- if (zend_ascii_hash_find(&module_registry, "standard",
sizeof("standard"), (void**)&module)==SUCCESS) {
+ if (zend_hash_find(&module_registry, "standard", sizeof("standard"),
(void**)&module)==SUCCESS) {
EG(current_module) = module;
zend_register_functions(NULL, sapi_module.additional_functions, NULL, MODULE_PERSISTENT
TSRMLS_CC);
EG(current_module) = NULL;