Show
Ignore:
Timestamp:
06/20/08 11:20:23 (6 months ago)
Author:
bart
Message:

optimize.c: In php 5.3 this field is const
ea_restore.c: strings comparison can't be done like that, stupid me

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • eaccelerator/trunk/optimize.c

    r351 r352  
    15261526    zend_module_entry *m = (zend_module_entry*)p->pData; 
    15271527    if (m->type == MODULE_PERSISTENT) { 
     1528#ifdef ZEND_ENGINE_2_3 
     1529      const zend_function_entry* f = m->functions; 
     1530#else 
    15281531      zend_function_entry* f = m->functions; 
     1532#endif 
    15291533      if (f != NULL) { 
    15301534        while (f->fname) {