Changeset 5689b6b in git


Ignore:
Timestamp:
2012-07-06T17:21:02Z (7 years ago)
Author:
Xuefer <xuefer@…>
Branches:
3.0, 3.1, 3.2, master, trunk
Children:
dabdfe1
Parents:
831bc07
Message:

fix assert for __DIR

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • xcache.c

    r831bc07 r5689b6b  
    15461546            }
    15471547            if (Z_TYPE(Z_OP_CONSTANT(opline->op2)) == IS_STRING) {
    1548                 assert(!entry_php->dirpath);
     1548                assert(entry_php->dirpath);
    15491549                TRACE("restored op2 constant: %s", entry_php->dirpath);
    15501550                ZVAL_STRINGL(&Z_OP_CONSTANT(opline->op2), entry_php->dirpath, entry_php->dirpath_len, !shallow_copy);
     
    15521552#ifdef IS_UNICODE
    15531553            else if (Z_TYPE(Z_OP_CONSTANT(opline->op2)) == IS_UNICODE) {
    1554                 assert(!entry_php->udirpath);
     1554                assert(entry_php->udirpath);
    15551555                ZVAL_UNICODEL(&Z_OP_CONSTANT(opline->op2), entry_php->udirpath, entry_php->udirpath_len, !shallow_copy);
    15561556            }
Note: See TracChangeset for help on using the changeset viewer.