Changeset 860 for trunk/xcache.c
- Timestamp:
- 2012-03-29T04:54:33+02:00 (14 months ago)
- File:
-
- 1 edited
-
trunk/xcache.c (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/xcache.c
r859 r860 1134 1134 } 1135 1135 /* }}} */ 1136 static void xc_entry_init_key_php_entry(xc_entry_php_t *entry_php, ZEND_24(const)char *filepath TSRMLS_DC) /* {{{*/1137 { 1138 entry_php->filepath = filepath;1136 static void xc_entry_init_key_php_entry(xc_entry_php_t *entry_php, const char *filepath TSRMLS_DC) /* {{{*/ 1137 { 1138 entry_php->filepath = ZEND_24((char *), NOTHING) filepath; 1139 1139 entry_php->filepath_len = strlen(entry_php->filepath); 1140 1140 entry_php->dirpath = estrndup(entry_php->filepath, entry_php->filepath_len); … … 1696 1696 1697 1697 xc_undo_pass_two(compiler->new_php.op_array TSRMLS_CC); 1698 xc_foreach_early_binding_class(compiler->new_php.op_array, xc_cache_early_binding_class_cb, (void *) compiler->new_php.SRMLS_CC);1698 xc_foreach_early_binding_class(compiler->new_php.op_array, xc_cache_early_binding_class_cb, (void *) &compiler->new_php TSRMLS_CC); 1699 1699 xc_redo_pass_two(compiler->new_php.op_array TSRMLS_CC); 1700 1700 /* }}} */ … … 3145 3145 PHP_FUNCTION(xcache_is_autoglobal) 3146 3146 { 3147 char *name; 3148 int name_len; 3149 3150 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &name, &name_len) == FAILURE) { 3147 zval *name; 3148 3149 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &name) == FAILURE) { 3151 3150 return; 3152 3151 } 3153 3152 3154 RETURN_BOOL(zend_ hash_exists(CG(auto_globals), name, name_len+ 1));3153 RETURN_BOOL(zend_u_hash_exists(CG(auto_globals), UG(unicode), Z_STRVAL_P(name), Z_STRLEN_P(name) + 1)); 3155 3154 } 3156 3155 /* }}} */
Note: See TracChangeset
for help on using the changeset viewer.

