summaryrefslogtreecommitdiff
path: root/Zend/zend.c
diff options
context:
space:
mode:
authorRasmus Lerdorf <rasmus@php.net>2008-03-18 21:14:28 +0000
committerRasmus Lerdorf <rasmus@php.net>2008-03-18 21:14:28 +0000
commit10afe5d96bc3d562958e905102de1db44188ac2b (patch)
tree05f227c74ba3ef54abd2ed3da17b28ad97f1abd8 /Zend/zend.c
parentc9e0781d2abab740f81a620c27a30391a11466ab (diff)
downloadphp-git-10afe5d96bc3d562958e905102de1db44188ac2b.tar.gz
Make the sigsetjmp change more robust. On systems that don't have
sigsetjmp use setjmp. Windows is of course weird in that it seems to have sigsetjmp but not sigjmp_buf (??) so force it to use setjmp in config.w32.h.in
Diffstat (limited to 'Zend/zend.c')
-rw-r--r--Zend/zend.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Zend/zend.c b/Zend/zend.c
index a7bd8a773d..71b39fcb74 100644
--- a/Zend/zend.c
+++ b/Zend/zend.c
@@ -794,7 +794,7 @@ ZEND_API void _zend_bailout(char *filename, uint lineno) /* {{{ */
CG(unclean_shutdown) = 1;
CG(in_compilation) = EG(in_execution) = 0;
EG(current_execute_data) = NULL;
- siglongjmp(*EG(bailout), FAILURE);
+ LONGJMP(*EG(bailout), FAILURE);
}
/* }}} */
END_EXTERN_C()