diff options
author | Zeev Suraski <zeev@php.net> | 1999-05-22 16:10:51 +0000 |
---|---|---|
committer | Zeev Suraski <zeev@php.net> | 1999-05-22 16:10:51 +0000 |
commit | 1250c43a39cb562659076859bcf7c77260e45ffd (patch) | |
tree | 082c64d5b12b875659a5fd416c77a4cb959dd54d /Zend/zend_execute_API.c | |
parent | 165280264178a9b561eac1e4b5985e0649c906a2 (diff) | |
download | php-git-1250c43a39cb562659076859bcf7c77260e45ffd.tar.gz |
* Add struct name to all typedef's so that they can be debugged with MSVC
* Fix an AiCount bug - list(...) = $var was using $var multiple times, and thus
causing AiCount to be decreased multiple times even though it was increased only
once for $var. Mark all FETCH_DIM's so that they won't decrease AiCount, and only
decrease AiCount on the last FETCH_DIM.
* Fix a stupid bug - forgot to pass CLS_C to some compiler function. For some reason
MSVC doesn't report these :I
Diffstat (limited to 'Zend/zend_execute_API.c')
-rw-r--r-- | Zend/zend_execute_API.c | 18 |
1 files changed, 12 insertions, 6 deletions
diff --git a/Zend/zend_execute_API.c b/Zend/zend_execute_API.c index 526b965906..9e8b51ec10 100644 --- a/Zend/zend_execute_API.c +++ b/Zend/zend_execute_API.c @@ -37,13 +37,19 @@ static void zend_handle_sigsegv(int dummy) fflush(stdout); fflush(stderr); signal(SIGSEGV, original_sigsegv_handler); - fprintf(stderr, "SIGSEGV caught on opcode %d on opline %d of %s() at %s:%d\n\n", - active_opline->opcode, - active_opline-EG(active_op_array)->opcodes, - get_active_function_name(), - zend_get_executed_filename(), - zend_get_executed_lineno()); + /* + { + ELS_FETCH(); + + fprintf(stderr, "SIGSEGV caught on opcode %d on opline %d of %s() at %s:%d\n\n", + active_opline->opcode, + active_opline-EG(active_op_array)->opcodes, + get_active_function_name(), + zend_get_executed_filename(ELS_C), + zend_get_executed_lineno(ELS_C)); + } original_sigsegv_handler(dummy); + */ } |