Changeset 625 for branches/1.3/coverager.c
- Timestamp:
- 07/05/2009 11:01:49 AM (4 years ago)
- Location:
- branches/1.3
- Files:
-
- 2 modified
-
. (modified) (1 prop)
-
coverager.c (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/1.3
-
branches/1.3/coverager.c
r623 r625 1 #if 0 2 #define XCACHE_DEBUG 3 #endif 4 1 5 #include <stdio.h> 2 6 #include "xcache.h" … … 18 22 static char *xc_coveragedump_dir = NULL; 19 23 static zend_compile_file_t *old_compile_file = NULL; 20 21 #if 022 #define DEBUG23 #endif24 24 25 25 /* dumper */ … … 246 246 if (XG(coverager)) { 247 247 xc_coverager_enable(TSRMLS_C); 248 #ifdef ZEND_COMPILE_EXTENDED_INFO 249 CG(compiler_options) |= ZEND_COMPILE_EXTENDED_INFO; 250 #else 248 251 CG(extended_info) = 1; 252 #endif 249 253 } 250 254 else { … … 470 474 471 475 if (cfg_get_string("xcache.coveragedump_directory", &xc_coveragedump_dir) == SUCCESS && xc_coveragedump_dir) { 476 int len; 472 477 xc_coveragedump_dir = pestrdup(xc_coveragedump_dir, 1); 473 intlen = strlen(xc_coveragedump_dir);478 len = strlen(xc_coveragedump_dir); 474 479 if (len) { 475 480 if (xc_coveragedump_dir[len - 1] == '/') {

