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
This commit is contained in:
parent
13195156e4
commit
eab2061906
|
@ -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…
Reference in New Issue