Changeset 651


Ignore:
Timestamp:
2009-07-20T07:24:38+02:00 (5 years ago)
Author:
moo
Message:

make use of internal_constant_tail otherwise 1.3 will cache unwanted constants

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/utils.c

    r648 r651  
    704704        zend_hash_copy(&TG(zend_constants), &XG(internal_constant_table), (copy_ctor_func_t) xc_zend_constant_ctor, (void *) &tmp_const, sizeof(tmp_const)); 
    705705    } 
     706    TG(internal_constant_tail) = TG(zend_constants).pListTail; 
    706707#endif 
    707708    h = OG(function_table); 
     
    772773 
    773774#ifdef HAVE_XCACHE_CONSTANT 
    774     b = /*TG(internal_constant_tail) ? TG(internal_constant_tail)->pListNext :*/ TG(zend_constants).pListHead; 
     775    b = TG(internal_constant_tail) ? TG(internal_constant_tail)->pListNext : TG(zend_constants).pListHead; 
    775776    /* install constants */ 
    776777    while (b != NULL) { 
Note: See TracChangeset for help on using the changeset viewer.