Changeset 687


Ignore:
Timestamp:
2009-09-29T16:17:18+02:00 (5 years ago)
Author:
moo
Message:

update op_array->filename for hard link restoring

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/processor/processor.m4

    r684 r687  
    363363    DISPATCH(zend_uint, num_interfaces) 
    364364 
    365     IFRESTORE(`COPY(filename)', `PROC_STRING(filename)') 
     365    IFRESTORE(`dst->filename = processor->entry_src->filepath;DONE(filename)', `PROC_STRING(filename)') 
    366366    DISPATCH(zend_uint, line_start) 
    367367    DISPATCH(zend_uint, line_end) 
     
    522522        gc_arg_info = 1; 
    523523#endif 
     524        IFRESTORE(`dst->filename = processor->entry_src->filepath;') 
    524525        if (op_array_info->oplineinfo_cnt) { 
    525526            gc_opcodes = 1; 
     
    640641#endif 
    641642 
    642     IFRESTORE(`COPY(filename)', `PROC_STRING(filename)') 
     643    IFRESTORE(`dst->filename = processor->entry_src->filepath;DONE(filename)', `PROC_STRING(filename)') 
    643644#ifdef IS_UNICODE 
    644645    IFRESTORE(` 
  • trunk/xcache.c

    r686 r687  
    15781578            xce->var##path_len = 0; \ 
    15791579        } 
    1580         if (!const_usage.filepath_used) { 
    1581             xce->filepath = NULL; 
    1582             xce->filepath_len = 0; 
    1583         } 
     1580        /* filepath is required to restore op_array->filename, so no free filepath here */ 
    15841581        X_FREE_UNUSED(dir) 
    15851582#ifdef IS_UNICODE 
Note: See TracChangeset for help on using the changeset viewer.