Changeset 346 in svn
- Timestamp:
- 2007-02-04T09:55:47Z (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/utils.c
r345 r346 543 543 { 544 544 HashTable *h; 545 zend_function tmp_func;546 xc_cest_t tmp_cest;547 545 548 546 if (sandbox) { … … 582 580 h = OG(function_table); 583 581 zend_hash_init_ex(&TG(function_table), 128, NULL, h->pDestructor, h->persistent, h->bApplyProtection); 584 zend_hash_copy(&TG(function_table), &XG(internal_function_table), (copy_ctor_func_t) function_add_ref, (void *) &tmp_func, sizeof(tmp_func)); 582 { 583 zend_function tmp_func; 584 zend_hash_copy(&TG(function_table), &XG(internal_function_table), (copy_ctor_func_t) function_add_ref, (void *) &tmp_func, sizeof(tmp_func)); 585 } 585 586 TG(internal_class_tail) = TG(function_table).pListTail; 586 587 587 588 h = OG(class_table); 588 589 zend_hash_init_ex(&TG(class_table), 16, NULL, h->pDestructor, h->persistent, h->bApplyProtection); 589 zend_hash_copy(&TG(class_table), &XG(internal_class_table), (copy_ctor_func_t) xc_zend_class_add_ref, (void *) &tmp_cest, sizeof(tmp_cest)); 590 #if 0 && TODO 591 { 592 xc_cest_t tmp_cest; 593 zend_hash_copy(&TG(class_table), &XG(internal_class_table), (copy_ctor_func_t) xc_zend_class_add_ref, (void *) &tmp_cest, sizeof(tmp_cest)); 594 } 595 #endif 590 596 TG(internal_class_tail) = TG(class_table).pListTail; 591 597
Note: See TracChangeset
for help on using the changeset viewer.