cvs: ZendEngine2 / zend_API.c
| From: | Wez Furlong | Date: | Tue, 18 May 2004 15:26:13 +0000 |
| Subject: | cvs: ZendEngine2 / zend_API.c | ||
| Groups: | php.zend-engine.cvs | ||
| Request: | Send a blank email to php-zend-engine-cvs+get-2646@lists.php.net to get a copy of this message | ||
wez Tue May 18 11:26:13 2004 EDT
Modified files:
/ZendEngine2 zend_API.c
Log:
Register according to the type specified by the module.
(Helps to fix dl() bug)
http://cvs.php.net/diff.php/ZendEngine2/zend_API.c?r1=1.252&r2=1.253&ty=u
Index: ZendEngine2/zend_API.c
diff -u ZendEngine2/zend_API.c:1.252 ZendEngine2/zend_API.c:1.253
--- ZendEngine2/zend_API.c:1.252 Wed May 12 19:05:28 2004
+++ ZendEngine2/zend_API.c Tue May 18 11:26:13 2004
@@ -18,7 +18,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: zend_API.c,v 1.252 2004/05/12 23:05:28 helly Exp $ */
+/* $Id: zend_API.c,v 1.253 2004/05/18 15:26:13 wez Exp $ */
#include "zend.h"
#include "zend_execute.h"
@@ -1187,7 +1187,7 @@
if (!module->module_started && module->module_startup_func) {
EG(current_module) = module;
- if (module->module_startup_func(MODULE_PERSISTENT, module->module_number
TSRMLS_CC)==FAILURE) {
+ if (module->module_startup_func(Z_TYPE_P(module), module->module_number
TSRMLS_CC)==FAILURE) {
zend_error(E_CORE_ERROR,"Unable to start %s module", module->name);
EG(current_module) = NULL;
return FAILURE;