summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSascha Schumann <sas@php.net>1999-07-15 12:17:34 +0000
committerSascha Schumann <sas@php.net>1999-07-15 12:17:34 +0000
commit138dd94c8dcb768329e9b54b64ae7c52b5201608 (patch)
tree161be0197e2b99acd92fcce458f5ffbbbd8d9064
parentb7fe07d8dc42a6fdc51a31e2d22ba7737c7ef7ec (diff)
downloadphp-git-138dd94c8dcb768329e9b54b64ae7c52b5201608.tar.gz
disable zend_handle_sigsegv
-rw-r--r--Zend/zend_execute_API.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/Zend/zend_execute_API.c b/Zend/zend_execute_API.c
index aba813d301..9a832766b0 100644
--- a/Zend/zend_execute_API.c
+++ b/Zend/zend_execute_API.c
@@ -89,9 +89,12 @@ void init_executor(CLS_D ELS_DC)
EG(error_zval_ptr)=&EG(error_zval);
zend_ptr_stack_init(&EG(arg_types_stack));
zend_stack_init(&EG(overloaded_objects_stack));
+/* destroys stack frame, therefore makes core dumps worthless */
+#if 0
#if ZEND_DEBUG
original_sigsegv_handler = signal(SIGSEGV, zend_handle_sigsegv);
#endif
+#endif
EG(return_value) = &EG(global_return_value);
EG(symtable_cache_ptr) = EG(symtable_cache)-1;
EG(symtable_cache_limit)=EG(symtable_cache)+SYMTABLE_CACHE_SIZE-1;