Changeset 56

Show
Ignore:
Timestamp:
01/06/05 05:07:35 (4 years ago)
Author:
segv74
Message:

fix for bug 1091815. ( Encoded files and php4.3.10 )

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • eaccelerator/trunk/eaccelerator.c

    r55 r56  
    35083508        zend_set_compiled_filename(t->filename TSRMLS_CC); 
    35093509        CG(zend_lineno) = t->opcodes[1].lineno; 
    3510         new_t = eaccelerator_load( 
    3511           t->opcodes[0].op1.u.constant.value.str.val, 
    3512           t->opcodes[0].op1.u.constant.value.str.len TSRMLS_CC); 
     3510 
     3511        zend_try { 
     3512          new_t = eaccelerator_load( 
     3513            t->opcodes[0].op1.u.constant.value.str.val, 
     3514            t->opcodes[0].op1.u.constant.value.str.len TSRMLS_CC); 
     3515        } zend_catch { 
     3516            CG(function_table)  = orig_function_table; 
     3517            CG(class_table)             = orig_class_table; 
     3518            bailout                             = 1; 
     3519        } zend_end_try(); 
     3520        if (bailout) { 
     3521          zend_bailout (); 
     3522        } 
    35133523        CG(in_compilation) = old_in_compilation; 
    35143524        CG(compiled_filename) = old_filename;