Changeset 235 in svn for trunk/utils.c


Ignore:
Timestamp:
2006-10-11T00:26:23Z (9 years ago)
Author:
Xuefer
Message:

cacher: trick in_compilation state, don't trigger __autoload at compile time

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/utils.c

    r226 r235  
    425425                NULL
    426426                ) == FAILURE) {
    427         CG(in_compilation) = 1;
    428         CG(compiled_filename) = filename;
    429427        CG(zend_lineno) = 0;
    430428#ifdef IS_UNICODE
     
    461459                    NULL
    462460                    ) == FAILURE) {
    463             CG(in_compilation) = 1;
    464             CG(compiled_filename) = filename;
    465461            CG(zend_lineno) = ZESW(func->op_array.opcodes[0].lineno, func->op_array.line_start);
    466462#ifdef IS_UNICODE
     
    497493                ZESW(&stored_ce_ptr, NULL)
    498494                ) == FAILURE) {
    499         CG(in_compilation) = 1;
    500         CG(compiled_filename) = filename;
    501495        CG(zend_lineno) = ZESW(0, cep->line_start);
    502496#ifdef IS_UNICODE
     
    619613
    620614    if (install) {
     615        CG(in_compilation)    = 1;
     616        CG(compiled_filename) = sandbox->filename;
     617        CG(zend_lineno)       = 0;
    621618        xc_sandbox_install(sandbox TSRMLS_CC);
     619        CG(in_compilation)    = 0;
     620        CG(compiled_filename) = NULL;
    622621
    623622        /* no free as it's installed */
Note: See TracChangeset for help on using the changeset viewer.