Justtechjobs.com Find a programming school near you






Online Campus Both


php-developer-list | 2002112

[PHP-DEV] ZE2 and standard class initialization From: Marcus Börger (marcus.boerger <email protected>)
Date: 11/28/02

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