Show
Ignore:
Timestamp:
02/09/06 11:51:05 (3 years ago)
Author:
zoeloelip
Message:

On failure of mm initialisation, return FAILURE instead of disabling eAccelerator.

Files:

Legend:

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

    r151 r156  
    19941994    if (init_mm(TSRMLS_C) == FAILURE) { 
    19951995      zend_error(E_CORE_WARNING,"[%s] Can not create shared memory area", EACCELERATOR_EXTENSION_NAME); 
    1996       /* disable eA */ 
    1997       eaccelerator_mm_instance->enabled = 0; 
     1996      return FAILURE; 
    19981997    } 
    19991998    mm_saved_zend_compile_file = zend_compile_file;