Show
Ignore:
Timestamp:
06/20/08 11:20:20 (6 months ago)
Author:
bart
Message:

Failed to stage the commit properly

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • eaccelerator/trunk/content.c

    r344 r350  
    157157  memcpy(cache_content, content, sizeof(zval)); 
    158158  zval_copy_ctor(cache_content); 
    159   cache_content->is_ref = 0; 
    160   cache_content->refcount = 1; 
     159  INIT_PZVAL(cache_content); 
    161160  add_assoc_zval(&cache_array, "content", cache_content); 
    162161  eaccelerator_put(key, key_len , &cache_array, ttl, eaccelerator_content_cache_place TSRMLS_CC); 
     
    493492  char* zkey; 
    494493  int   zkey_len; 
     494#ifdef ZEND_ENGINE_2_3 
     495  ALLOCA_FLAG(use_heap) 
     496#endif 
    495497 
    496498  if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, 
     
    501503    RETURN_NULL(); 
    502504  } 
     505#ifdef ZEND_ENGINE_2_3 
     506  zkey = do_alloca(key_len+16, use_heap); 
     507#else 
    503508  zkey = do_alloca(key_len+16); 
     509#endif 
    504510  eaccelerator_rm(key, key_len, eaccelerator_content_cache_place TSRMLS_CC); 
    505511  zkey_len = sizeof("gzip_") + key_len - 1;