ZE2 and standard class initialization

From: Date: Thu, 28 Nov 2002 16:31:09 +0000
Subject: ZE2 and standard class initialization
Groups: php.dev 
Request: Send a blank email to php-dev+get-91870@lists.php.net to get a copy of this message
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); }

« previous php.dev (#91870) next »