Browse Source

cacher: correct the fix [199] [196] for #36. was breaking testcase Zend/tests/bug28442.phpt

git-svn-id: svn://svn.lighttpd.net/xcache/trunk@220 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
1.2
Xuefer 16 years ago
parent
commit
eab2061906
  1. 6
      processor/head.m4

6
processor/head.m4

@ -250,10 +250,10 @@ static int xc_hash_static_member_check(xc_processor_t *processor, Bucket *b TSRM
{
const zend_class_entry *src = processor->active_class_entry_src;
if (src->parent) {
zval **srczv;
if (zend_u_hash_quick_find(CE_STATIC_MEMBERS(src), BUCKET_KEY_TYPE(b), ZSTR(BUCKET_KEY_S(b)), b->nKeyLength, b->h, (void **) &srczv) == SUCCESS) {
zval **parentzv;
if (zend_u_hash_quick_find(CE_STATIC_MEMBERS(src->parent), BUCKET_KEY_TYPE(b), ZSTR(BUCKET_KEY_S(b)), b->nKeyLength, b->h, (void **) &parentzv) == SUCCESS) {
zval **zv = (zval **) b->pData;
if (*srczv == *zv) {
if (*parentzv == *zv) {
return ZEND_HASH_APPLY_REMOVE;
}
}

Loading…
Cancel
Save