Changeset 939 for trunk/xcache.c
- Timestamp:
- 2012-06-29T06:07:05+02:00 (11 months ago)
- File:
-
- 1 edited
-
trunk/xcache.c (modified) (6 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/xcache.c
r938 r939 745 745 /* }}} */ 746 746 747 static zend_op_array *xc_entry_install(xc_entry_php_t *entry_php , zend_file_handle *hTSRMLS_DC) /* {{{ */747 static zend_op_array *xc_entry_install(xc_entry_php_t *entry_php TSRMLS_DC) /* {{{ */ 748 748 { 749 749 zend_uint i; … … 815 815 i = 1; 816 816 zend_hash_add(&EG(included_files), entry_php->entry.name.str.val, entry_php->entry.name.str.len+1, (void *)&i, sizeof(int), NULL); 817 if (h) {818 zend_llist_add_element(&CG(open_files), h);819 }820 817 821 818 #ifndef ZEND_ENGINE_2 … … 1842 1839 } 1843 1840 /* }}} */ 1844 static zend_op_array *xc_compile_restore(xc_entry_php_t *stored_entry, xc_entry_data_php_t *stored_php , zend_file_handle *hTSRMLS_DC) /* {{{ */1841 static zend_op_array *xc_compile_restore(xc_entry_php_t *stored_entry, xc_entry_data_php_t *stored_php TSRMLS_DC) /* {{{ */ 1845 1842 { 1846 1843 zend_op_array *op_array; … … 1862 1859 catched = 0; 1863 1860 zend_try { 1864 op_array = xc_entry_install(&restored_entry , hTSRMLS_CC);1861 op_array = xc_entry_install(&restored_entry TSRMLS_CC); 1865 1862 } zend_catch { 1866 1863 catched = 1; … … 2120 2117 /* found entry */ 2121 2118 if (stored_entry && stored_php) { 2122 return xc_compile_restore(stored_entry, stored_php , hTSRMLS_CC);2119 return xc_compile_restore(stored_entry, stored_php TSRMLS_CC); 2123 2120 } 2124 2121 … … 2136 2133 op_array = xc_sandbox(xc_compile_file_sandboxed, (void *) &sandboxed_compiler, h->opened_path ? h->opened_path : h->filename TSRMLS_CC); 2137 2134 if (sandboxed_compiler.stored_entry) { 2138 return xc_compile_restore(s tored_entry, stored_php, hTSRMLS_CC);2135 return xc_compile_restore(sandboxed_compiler.stored_entry, sandboxed_compiler.stored_php TSRMLS_CC); 2139 2136 } 2140 2137 else {
Note: See TracChangeset
for help on using the changeset viewer.

