Changeset 684 in svn for trunk/xcache.h


Ignore:
Timestamp:
2009-09-29T13:25:01+02:00 (6 years ago)
Author:
Xuefer
Message:

the logic of implemenation of dir/file path fixing was wrong. file/dir path should be cached before hardlink

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/xcache.h

    r671 r684  
    320320    size_t     size;
    321321
    322     int    filepath_len;
    323     char  *filepath;
    324     int    dirpath_len;
    325     char  *dirpath;
    326 #ifdef IS_UNICODE
    327     UChar *ufilepath;
    328     int    ufilepath_len;
    329     UChar *udirpath;
    330     int    udirpath_len;
    331 #endif
    332 
    333322    xc_op_array_info_t op_array_info;
    334323    zend_op_array *op_array;
     
    399388    int inode;              /* the filesystem inode */
    400389#endif
     390
     391    /* php only */
     392    int    filepath_len;
     393    char  *filepath;
     394    int    dirpath_len;
     395    char  *dirpath;
     396#ifdef IS_UNICODE
     397    UChar *ufilepath;
     398    int    ufilepath_len;
     399    UChar *udirpath;
     400    int    udirpath_len;
     401#endif
     402
    401403};
    402404/* }}} */
     
    419421/* }}} */
    420422void xc_gc_add_op_array(xc_gc_op_array_t *gc_op_array TSRMLS_DC);
    421 void xc_fix_op_array_info(const xc_entry_data_php_t *php, zend_op_array *op_array, int shallow_copied, const xc_op_array_info_t *op_array_info TSRMLS_DC);
     423void xc_fix_op_array_info(const xc_entry_t *xce, const xc_entry_data_php_t *php, zend_op_array *op_array, int shallow_copied, const xc_op_array_info_t *op_array_info TSRMLS_DC);
    422424
    423425#endif /* __XCACHE_H */
Note: See TracChangeset for help on using the changeset viewer.