1
0
mirror of https://github.com/php/php-src.git synced 2026-04-03 14:12:38 +02:00

fix UMR in ZTS mode

This commit is contained in:
Thies C. Arntzen
1999-12-27 11:22:57 +00:00
parent 7e156e73b5
commit 9cf1a98d0e

View File

@@ -249,6 +249,8 @@ static void compiler_globals_ctor(zend_compiler_globals *compiler_globals)
compiler_globals->class_table = (HashTable *) malloc(sizeof(HashTable));
zend_hash_init(compiler_globals->class_table, 10, NULL, ZEND_CLASS_DTOR, 1);
zend_hash_copy(compiler_globals->class_table, global_class_table, zend_class_add_ref, &tmp_class, sizeof(zend_class_entry));
compiler_globals->extended_info = 0;
}