Changeset 406
- Timestamp:
- 05/31/2007 04:00:33 AM (18 months ago)
- Location:
- branches/1.2
- Files:
-
- 3 modified
Legend:
- Unmodified
- Added
- Removed
-
branches/1.2
- Property svnmerge-integrated changed from /trunk:1-302,344-346,371,374-375,388,391,393,395,400 to /trunk:1-302,344-346,371,374-375,388,391,393,395,400,402-404
-
branches/1.2/coverager.c
r394 r406 17 17 18 18 static char *xc_coveragedump_dir = NULL; 19 static zend_compile_file_t *o rigin_compile_file;19 static zend_compile_file_t *old_compile_file = NULL; 20 20 21 21 #if 0 … … 454 454 zend_op_array *op_array; 455 455 456 op_array = o rigin_compile_file(h, type TSRMLS_CC);456 op_array = old_compile_file(h, type TSRMLS_CC); 457 457 if (op_array) { 458 458 if (XG(coverager)) { … … 483 483 int xc_coverager_init(int module_number TSRMLS_DC) /* {{{ */ 484 484 { 485 o rigin_compile_file = zend_compile_file;485 old_compile_file = zend_compile_file; 486 486 zend_compile_file = xc_compile_file_for_coverage; 487 487 … … 503 503 void xc_coverager_destroy() /* {{{ */ 504 504 { 505 if (o rigin_compile_file == xc_compile_file_for_coverage) {506 zend_compile_file = o rigin_compile_file;505 if (old_compile_file == xc_compile_file_for_coverage) { 506 zend_compile_file = old_compile_file; 507 507 } 508 508 if (xc_coveragedump_dir) { -
branches/1.2/xcache.c
r401 r406 98 98 99 99 static zend_bool xc_initized = 0; 100 static zend_compile_file_t *o rigin_compile_file;101 static zend_llist_element *xc_llist_zend_extension ;100 static zend_compile_file_t *old_compile_file = NULL; 101 static zend_llist_element *xc_llist_zend_extension = NULL; 102 102 103 103 static zend_bool xc_test = 0; … … 857 857 858 858 if (!XG(cacher)) { 859 op_array = o rigin_compile_file(h, type TSRMLS_CC);859 op_array = old_compile_file(h, type TSRMLS_CC); 860 860 #ifdef HAVE_XCACHE_OPTIMIZER 861 861 if (XG(optimizer)) { … … 876 876 xce.data.php = &php; 877 877 if (!xc_entry_init_key_php(&xce, filename, opened_path_buffer TSRMLS_CC)) { 878 return o rigin_compile_file(h, type TSRMLS_CC);878 return old_compile_file(h, type TSRMLS_CC); 879 879 } 880 880 cache = xce.cache; … … 884 884 if (cache->compiling) { 885 885 cache->clogs ++; /* is it safe here? */ 886 return o rigin_compile_file(h, type TSRMLS_CC);886 return old_compile_file(h, type TSRMLS_CC); 887 887 } 888 888 … … 925 925 /* clogged */ 926 926 if (clogged) { 927 return o rigin_compile_file(h, type TSRMLS_CC);927 return old_compile_file(h, type TSRMLS_CC); 928 928 } 929 929 /* }}} */ … … 942 942 943 943 zend_try { 944 op_array = o rigin_compile_file(h, type TSRMLS_CC);944 op_array = old_compile_file(h, type TSRMLS_CC); 945 945 } zend_catch { 946 946 catched = 1; … … 1375 1375 xc_shm_t *shm = NULL; 1376 1376 1377 if (o rigin_compile_file) {1378 zend_compile_file = o rigin_compile_file;1379 o rigin_compile_file = NULL;1377 if (old_compile_file) { 1378 zend_compile_file = old_compile_file; 1379 old_compile_file = NULL; 1380 1380 } 1381 1381 … … 1419 1419 1420 1420 if (xc_php_size) { 1421 o rigin_compile_file = zend_compile_file;1421 old_compile_file = zend_compile_file; 1422 1422 zend_compile_file = xc_compile_file; 1423 1423 … … 2746 2746 #endif 2747 2747 /* }}} */ 2748 static startup_func_t xc_last_ext_startup ;2748 static startup_func_t xc_last_ext_startup = NULL; 2749 2749 static int xc_zend_startup_last(zend_extension *extension) /* {{{ */ 2750 2750 {

