Changeset 1051 in svn for trunk/processor


Ignore:
Timestamp:
2012-07-26T03:47:52Z (7 years ago)
Author:
Xuefer
Message:

refactor: move more cache stuffs to mod_cacher

Location:
trunk/processor
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/processor/head.m4

    r1018 r1051  
    1212/* export: #include "xcache.h" :export */
    1313#include "xcache.h"
     14/* export: #include "mod_cacher/xc_cache.h" :export */
     15#include "mod_cacher/xc_cache.h"
    1416#include "util/xc_align.h"
    1517#include "xcache/xc_const_string.h"
     18#include "xcache/xc_utils.h"
    1619#include "xc_processor.h"
    1720#include "xcache_globals.h"
     
    359362            if (!zend_u_hash_exists(done_names, IS_STRING, assert_names[i], strlen(assert_names[i]) + 1)) {
    360363                fprintf(stderr
    361                     , "missing field at %s `#'%d %s`' : %s\n"
     364                    , "Error: missing field at %s `#'%d %s`' : %s\n"
    362365                    , file, line, functionName
    363366                    , assert_names[i]
     
    377380            if (!known) {
    378381                fprintf(stderr
    379                     , "unknown field at %s `#'%d %s`' : %s\n"
     382                    , "Error: unknown field at %s `#'%d %s`' : %s\n"
    380383                    , file, line, functionName
    381384                    , BUCKET_KEY_S(b)
  • trunk/processor/processor.m4

    r1027 r1051  
    10801080')
    10811081IFRESTORE(`', `
    1082 #ifdef E_STRICT
     1082#ifdef XCACHE_ERROR_CACHING
    10831083DEF_STRUCT_P_FUNC(`xc_compilererror_t', , `dnl {{{
    10841084    PROCESS(int, type)
     
    11321132    ')
    11331133#endif
    1134 #ifdef E_STRICT
     1134#ifdef XCACHE_ERROR_CACHING
    11351135    PROCESS(zend_uint, compilererror_cnt)
    11361136    IFRESTORE(`
Note: See TracChangeset for help on using the changeset viewer.