Ignore:
Timestamp:
2009-07-05T11:01:49+02:00 (5 years ago)
Author:
moo
Message:

merged r541:559 from trunk

Location:
branches/1.3
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/1.3

  • branches/1.3/coverager.c

    r623 r625  
     1#if 0 
     2#define XCACHE_DEBUG 
     3#endif 
     4 
    15#include <stdio.h> 
    26#include "xcache.h" 
     
    1822static char *xc_coveragedump_dir = NULL; 
    1923static zend_compile_file_t *old_compile_file = NULL; 
    20  
    21 #if 0 
    22 #define DEBUG 
    23 #endif 
    2424 
    2525/* dumper */ 
     
    246246    if (XG(coverager)) { 
    247247        xc_coverager_enable(TSRMLS_C); 
     248#ifdef ZEND_COMPILE_EXTENDED_INFO 
     249        CG(compiler_options) |= ZEND_COMPILE_EXTENDED_INFO; 
     250#else 
    248251        CG(extended_info) = 1; 
     252#endif 
    249253    } 
    250254    else { 
     
    470474 
    471475    if (cfg_get_string("xcache.coveragedump_directory", &xc_coveragedump_dir) == SUCCESS && xc_coveragedump_dir) { 
     476        int len; 
    472477        xc_coveragedump_dir = pestrdup(xc_coveragedump_dir, 1); 
    473         int len = strlen(xc_coveragedump_dir); 
     478        len = strlen(xc_coveragedump_dir); 
    474479        if (len) { 
    475480            if (xc_coveragedump_dir[len - 1] == '/') { 
Note: See TracChangeset for help on using the changeset viewer.