Changeset dadcc12 in git


Ignore:
Timestamp:
2006-10-18T16:18:12Z (13 years ago)
Author:
Xuefer <xuefer@…>
Branches:
1.1
Children:
72f77e2, 89599e0
Parents:
cc6837ab
Message:

trunk->1.1: merged [166] use existing hashtable pDestructor to avoid accident undefined symbol

git-svn-id: svn://svn.lighttpd.net/xcache/branches/1.1@260 c26eb9a1-5813-0410-bd6c-c2e55f420ca7

File:
1 edited

Legend:

Unmodified
Added
Removed
  • utils.c

    r9709d14 rdadcc12  
    384384    zend_hash_init_ex(TG(included_files), 5, NULL, NULL, 0, 1);
    385385#ifdef HAVE_XCACHE_CONSTANT
    386     zend_hash_init_ex(&TG(zend_constants), 20, NULL, ZEND_CONSTANT_DTOR, 1, 0);
    387 #endif
    388     zend_hash_init_ex(&TG(function_table), 128, NULL, ZEND_FUNCTION_DTOR, 0, 0);
    389     zend_hash_init_ex(&TG(class_table), 16, NULL, ZEND_CLASS_DTOR, 0, 0);
     386    zend_hash_init_ex(&TG(zend_constants), 20, NULL, EG(zend_constants)->pDestructor, 1, 0);
     387#endif
     388    zend_hash_init_ex(&TG(function_table), 128, NULL, CG(function_table)->pDestructor, 0, 0);
     389    zend_hash_init_ex(&TG(class_table), 16, NULL, CG(class_table)->pDestructor, 0, 0);
    390390
    391391    sandbox->filename = filename;
Note: See TracChangeset for help on using the changeset viewer.