Ignore:
Timestamp:
2013-11-06T19:24:29+01:00 (9 months ago)
Author:
moo
Message:

relocate WIP

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/mod_cacher/xc_cacher.c

    r1433 r1444  
    177177    php->refcount = 0; 
    178178    stored_php = xc_processor_store_xc_entry_data_php_t(cache->shm, cache->allocator, php TSRMLS_CC); 
     179#if 1 
     180    { 
     181        char *p = malloc(stored_php->size); 
     182        fprintf(stderr, "%d\n", stored_php->size); 
     183        memcpy(p, stored_php, stored_php->size); 
     184        /* 
     185        xc_processor_relocate_xc_entry_data_php_t(p, p, 0, stored_php TSRMLS_CC); 
     186        */ 
     187    } 
     188#endif 
    179189    if (stored_php) { 
    180190        xc_php_add_unlocked(cache->cached, stored_php); 
Note: See TracChangeset for help on using the changeset viewer.