Re: ZE2 and standard class initialization
| From: | Andi Gutmans | Date: | Fri, 29 Nov 2002 16:35:37 +0000 |
| Subject: | Re: ZE2 and standard class initialization | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-91925@lists.php.net to get a copy of this message | ||
Applied.
Andi
At 05:31 PM 11/28/2002 +0100, Marcus Börger wrote:
In ZE2 zend.c there is a structure member not initialized for. See patch below. marcus Index: Zend/zend.c =================================================================== RCS file: /repository/ZendEngine2/zend.c,v retrieving revision 1.191 diff -u -r1.191 zend.c--- Zend/zend.c 24 Nov 2002 20:15:56 -0000 1.191+++ Zend/zend.c 28 Nov 2002 16:24:02 -0000 @@ -289,6 +289,8 @@zend_standard_class_def->handle_property_get = NULL; zend_standard_class_def->handle_property_set = NULL; zend_standard_class_def->refcount = 1; + zend_standard_class_def->constants_updated = 0; zend_hash_add(GLOBAL_CLASS_TABLE, "stdclass", sizeof("stdclass"), &zend_standard_class_def, sizeof(zend_class_entry *), NULL);} -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, visit: http://www.php.net/unsub.php