Changeset 847
Legend:
- Unmodified
- Added
- Removed
-
trunk/optimizer.c
r845 r847 105 105 case ZEND_SWITCH_FREE: 106 106 case ZEND_FREE: 107 if (!(brk_opline->extended_value & EXT_TYPE_FREE_ON_RETURN)) { 107 #ifdef EXT_TYPE_FREE_ON_RETURN 108 if (!(brk_opline->extended_value & EXT_TYPE_FREE_ON_RETURN)) 109 #endif 110 { 108 111 can_convert = 0; 109 112 } -
trunk/utils.c
r846 r847 970 970 971 971 #ifndef ZEND_ENGINE_2_3 972 size_t zend_dirname(char *path, size_t len) /* {{{ */ 973 { 972 #include "ext/standard/php_string.h" 973 size_t xc_dirname(char *path, size_t len) /* {{{ */ 974 { 975 #ifdef ZEND_ENGINE_2 976 return php_dirname(path, len); 977 #else 974 978 php_dirname(path, len); 975 979 return strlen(path); 976 } 977 /* }}} */ 978 979 long zend_atol(const char *str, int str_len) /* {{{ */ 980 #endif 981 } 982 /* }}} */ 983 984 long xc_atol(const char *str, int str_len) /* {{{ */ 980 985 { 981 986 long retval; -
trunk/utils.h
r846 r847 135 135 136 136 #ifndef ZEND_ENGINE_2_3 137 size_t zend_dirname(char *path, size_t len); 138 long zend_atol(const char *str, int len); 137 size_t xc_dirname(char *path, size_t len); 138 #define zend_dirname xc_dirname 139 long xc_atol(const char *str, int len); 140 #define zend_atol xc_atol 139 141 #endif 140 142 -
trunk/xcache.c
r846 r847 3712 3712 /* {{{ module dependencies */ 3713 3713 #if ZEND_MODULE_API_NO >= 20050922 3714 static constzend_module_dep xcache_module_deps[] = {3714 static zend_module_dep xcache_module_deps[] = { 3715 3715 ZEND_MOD_REQUIRED("standard") 3716 3716 ZEND_MOD_CONFLICTS("apc")

