Ignore:
Timestamp:
2013-07-15T19:37:57+02:00 (14 months ago)
Author:
moo
Message:

add back PHP_4 code for disassembler

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/xcache/xc_sandbox.c

    r1281 r1321  
    195195#if 0 && TODO 
    196196    { 
    197         zend_class_entry *dummy_class_entry; 
    198         zend_hash_copy(&TG(class_table), &XG(internal_class_table), NULL, (void *) &dummy_class_entry, sizeof(dummy_class_entry)); 
     197        xc_cest_t tmp_cest; 
     198        zend_hash_copy(&TG(class_table), &XG(internal_class_table), NULL, (void *) &tmp_cest, sizeof(tmp_cest)); 
    199199    } 
    200200#endif 
     
    278278    /* install class */ 
    279279    while (b != NULL) { 
    280         xc_install_class(sandbox->filename, *(zend_class_entry **)b->pData, -1, 
     280        xc_install_class(sandbox->filename, (xc_cest_t*) b->pData, -1, 
    281281                BUCKET_KEY_TYPE(b), ZSTR(BUCKET_KEY_S(b)), b->nKeyLength, b->h TSRMLS_CC); 
    282282        b = b->pListNext; 
Note: See TracChangeset for help on using the changeset viewer.