Changeset 955


Ignore:
Timestamp:
2012-07-06T19:21:02+02:00 (22 months ago)
Author:
moo
Message:

fix assert for __DIR

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/xcache.c

    r954 r955  
    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.