File tree Expand file tree Collapse file tree 1 file changed +6
-0
lines changed
Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -3817,7 +3817,9 @@ static int accel_finish_startup(void)
38173817 int (* orig_send_headers )(sapi_headers_struct * sapi_headers TSRMLS_DC ) = sapi_module .send_headers ;
38183818 void (* orig_send_header )(sapi_header_struct * sapi_header , void * server_context TSRMLS_DC )= sapi_module .send_header ;
38193819 char * (* orig_getenv )(char * name , size_t name_len TSRMLS_DC ) = sapi_module .getenv ;
3820+ #ifdef ZEND_SIGNALS
38203821 zend_bool old_reset_signals = SIGG (reset );
3822+ #endif
38213823
38223824 if (UNEXPECTED (file_cache_only )) {
38233825 zend_accel_error (ACCEL_LOG_WARNING , "Preloading doesn't work in \"file_cache_only\" mode" );
@@ -3834,7 +3836,9 @@ static int accel_finish_startup(void)
38343836
38353837 zend_interned_strings_switch_storage (1 );
38363838
3839+ #ifdef ZEND_SIGNALS
38373840 SIGG (reset ) = 0 ;
3841+ #endif
38383842 if (php_request_startup () == SUCCESS ) {
38393843
38403844 /* don't send headers */
@@ -3861,7 +3865,9 @@ static int accel_finish_startup(void)
38613865 } else {
38623866 ret = FAILURE ;
38633867 }
3868+ #ifdef ZEND_SIGNALS
38643869 SIGG (reset ) = old_reset_signals ;
3870+ #endif
38653871
38663872 sapi_module .activate = orig_activate ;
38673873 sapi_module .deactivate = orig_deactivate ;
You can’t perform that action at this time.
0 commit comments