cvs: ZendEngine2 / zend_API.c
| From: | Derick Rethans | Date: | Fri, 22 Nov 2002 10:49:46 +0000 |
| Subject: | cvs: ZendEngine2 / zend_API.c | ||
| Groups: | php.zend-engine.cvs | ||
| Request: | Send a blank email to php-zend-engine-cvs+get-654@lists.php.net to get a copy of this message | ||
derick Fri Nov 22 05:49:46 2002 EDT
Modified files:
/ZendEngine2 zend_API.c
Log:
- Initialize all functions to non-static (patch by Marcus Börger
<marcus.boerger@t-online.de>.
Index: ZendEngine2/zend_API.c
diff -u ZendEngine2/zend_API.c:1.134 ZendEngine2/zend_API.c:1.135
--- ZendEngine2/zend_API.c:1.134 Wed Oct 9 10:21:40 2002
+++ ZendEngine2/zend_API.c Fri Nov 22 05:49:46 2002
@@ -1055,6 +1055,7 @@
internal_function->arg_types = ptr->func_arg_types;
internal_function->function_name = ptr->fname;
internal_function->scope = NULL;
+ internal_function->is_static = 0;
if (!internal_function->handler) {
zend_error(error_type, "Null function defined as active function");
zend_unregister_functions(functions, count, target_function_table TSRMLS_CC);