Changeset c5ab33d in git


Ignore:
Timestamp:
2012-07-27T08:35:59Z (7 years ago)
Author:
Xuefer <xuefer@…>
Branches:
3.0, 3.1, 3.2, master, trunk
Children:
7fe9eda
Parents:
f11b164
Message:

coverager: make it work with cacher enabled

git-svn-id: svn://svn.lighttpd.net/xcache/trunk@1060 c26eb9a1-5813-0410-bd6c-c2e55f420ca7

File:
1 edited

Legend:

Unmodified
Added
Removed
  • mod_coverager/xc_coverager.c

    rf11b164 rc5ab33d  
    576576/* }}} */
    577577
    578 static int xc_optimizer_zend_startup(zend_extension *extension) /* {{{ */
    579 {
     578static int xc_coverager_zend_startup(zend_extension *extension) /* {{{ */
     579{
     580    old_compile_file = zend_compile_file;
     581    zend_compile_file = xc_compile_file_for_coverage;
     582
    580583    return SUCCESS;
    581584}
    582585/* }}} */
    583 static void xc_optimizer_zend_shutdown(zend_extension *extension) /* {{{ */
     586static void xc_coverager_zend_shutdown(zend_extension *extension) /* {{{ */
    584587{
    585588    /* empty */
     
    612615    XCACHE_URL,
    613616    XCACHE_COPYRIGHT,
    614     xc_optimizer_zend_startup,
    615     xc_optimizer_zend_shutdown,
     617    xc_coverager_zend_startup,
     618    xc_coverager_zend_shutdown,
    616619    NULL,           /* activate_func_t */
    617620    NULL,           /* deactivate_func_t */
     
    649652static PHP_MINIT_FUNCTION(xcache_coverager) /* {{{ */
    650653{
    651     old_compile_file = zend_compile_file;
    652     zend_compile_file = xc_compile_file_for_coverage;
    653 
    654654    REGISTER_INI_ENTRIES();
    655655
Note: See TracChangeset for help on using the changeset viewer.