Changeset 6babaf0 in git


Ignore:
Timestamp:
2006-09-10T02:14:06Z (13 years ago)
Author:
Xuefer <xuefer@…>
Branches:
1.1, 1.2, 1.3, 3.0, 3.1, 3.2, master, trunk
Children:
f7c115c
Parents:
fc10218
Message:

PHP6: zts build

git-svn-id: svn://svn.lighttpd.net/xcache/trunk@152 c26eb9a1-5813-0410-bd6c-c2e55f420ca7

File:
1 edited

Legend:

Unmodified
Added
Removed
  • xcache.c

    rfc10218 r6babaf0  
    649649#define HASH_STR(s) HASH_STR_L(s, strlen(s) + 1)
    650650#define HASH_NUM(n) HASH(n)
    651 static inline xc_hash_value_t xc_entry_hash_var(xc_entry_t *xce) /* {{{ */
     651static inline xc_hash_value_t xc_entry_hash_var(xc_entry_t *xce TSRMLS_DC) /* {{{ */
    652652{
    653653    return UNISW(NOTHING, UG(unicode) ? HASH_USTR_L(xce->name_type, xce->name.uni.val, xce->name.uni.len) :)
     
    655655}
    656656/* }}} */
    657 static inline xc_hash_value_t xc_entry_hash_php(xc_entry_t *xce) /* {{{ */
     657static inline xc_hash_value_t xc_entry_hash_php(xc_entry_t *xce TSRMLS_DC) /* {{{ */
    658658{
    659659#ifdef HAVE_INODE
    660660    return HASH(xce->data.php->device + xce->data.php->inode);
    661661#else
    662     return xc_entry_hash_var(xce);
     662    return xc_entry_hash_var(xce TSRMLS_CC);
    663663#endif
    664664}
     
    734734
    735735
    736     hv = xc_entry_hash_php(xce);
     736    hv = xc_entry_hash_php(xce TSRMLS_CC);
    737737    cacheid = (hv & xc_php_hcache.mask);
    738738    xce->cache = xc_php_caches[cacheid];
     
    15551555    xce->name = name->value;
    15561556
    1557     hv = xc_entry_hash_var(xce);
     1557    hv = xc_entry_hash_var(xce TSRMLS_CC);
    15581558
    15591559    cacheid = (hv & xc_var_hcache.mask);
Note: See TracChangeset for help on using the changeset viewer.