cvs: ZendEngine2 / zend.c

From: Date: Thu, 19 Sep 2002 15:12:20 +0000
Subject: cvs: ZendEngine2 / zend.c
Groups: php.zend-engine.cvs 
Request: Send a blank email to php-zend-engine-cvs+get-439@lists.php.net to get a copy of this message
zeev Thu Sep 19 11:12:20 2002 EDT Modified files: /ZendEngine2 zend.c Log: Fix that obscure crash in Debug_TS mode Index: ZendEngine2/zend.c diff -u ZendEngine2/zend.c:1.181 ZendEngine2/zend.c:1.182 --- ZendEngine2/zend.c:1.181 Wed Sep 18 18:16:22 2002 +++ ZendEngine2/zend.c Thu Sep 19 11:12:20 2002 @@ -294,7 +294,7 @@ compiler_globals->class_table = &compiler_globals->main_class.class_table; zend_hash_init_ex(compiler_globals->class_table, 10, NULL, ZEND_CLASS_DTOR, 1, 0); - zend_hash_copy(compiler_globals->class_table, GLOBAL_CLASS_TABLE, (copy_ctor_func_t) zend_class_add_ref, &tmp_class, sizeof(zend_class_entry)); + zend_hash_copy(compiler_globals->class_table, GLOBAL_CLASS_TABLE, (copy_ctor_func_t) zend_class_add_ref, &tmp_class, sizeof(zend_class_entry *)); zend_set_default_compile_time_values(TSRMLS_C);

« previous php.zend-engine.cvs (#439) next »