Changeset 888


Ignore:
Timestamp:
2012-04-05T15:48:50+02:00 (3 years ago)
Author:
moo
Message:

tsrmls fix

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/xcache.c

    r882 r888  
    930930        path_buffer_len = snprintf(path_buffer, MAXPATHLEN, "%s/%s", path, filepath); 
    931931        if (path_buffer_len < MAXPATHLEN - 1) { 
    932             if (xstat_func(path_buffer, path_buffer_len, data)) { 
     932            if (xstat_func(path_buffer, path_buffer_len, data TSRMLS_CC)) { 
    933933                ret = 1; 
    934934                goto finish; 
     
    952952                        path_buffer_len = dirname_len + filename_len; 
    953953                        path_buffer[path_buffer_len] = '\0'; 
    954                         if (xstat_func(path_buffer, path_buffer_len, data) == 0) { 
     954                        if (xstat_func(path_buffer, path_buffer_len, data TSRMLS_CC) == 0) { 
    955955                            ret = 1; 
    956956                            goto finish; 
     
    979979static int xc_include_path_stat(const char *filepath, char *path_buffer, struct stat *pbuf TSRMLS_DC) /* {{{ */ 
    980980{ 
    981     return xc_include_path_apply(filepath, path_buffer, xc_stat_file, (void *) pbuf TSRMLS_DC) 
     981    return xc_include_path_apply(filepath, path_buffer, xc_stat_file, (void *) pbuf TSRMLS_CC) 
    982982        ? SUCCESS 
    983983        : FAILURE; 
     
    10151015    entry_find_include_path_data.stored_entry = stored_entry; 
    10161016 
    1017     return xc_include_path_apply(filepath, path_buffer, xc_entry_find_include_path_func_unlocked, (void *) &entry_find_include_path_data TSRMLS_DC) 
     1017    return xc_include_path_apply(filepath, path_buffer, xc_entry_find_include_path_func_unlocked, (void *) &entry_find_include_path_data TSRMLS_CC) 
    10181018        ? SUCCESS 
    10191019        : FAILURE; 
     
    10761076    else { 
    10771077#ifdef ZEND_ENGINE_2_3 
    1078         char *opened_path = php_resolve_path(compiler->filename, compiler->filename_len, PG(include_path)); 
     1078        char *opened_path = php_resolve_path(compiler->filename, compiler->filename_len, PG(include_path) TSRMLS_CC); 
    10791079        if (opened_path) { 
    10801080            strcpy(compiler->opened_path_buffer, opened_path); 
Note: See TracChangeset for help on using the changeset viewer.