Re: [PHP-DEV] setjmp usage

2008-03-18 Thread Rasmus Lerdorf
Stanislav Malyshev wrote: Hi! We are using setjmp(__bailout) in zend_try, but setjmp behaves differently on BSD and Linux. POSIX doesn't specify whether the signal mask should be saved or not for this call, so different operating systems do different things here. I think it would be more c

Re: [PHP-DEV] setjmp usage

2008-03-18 Thread Stanislav Malyshev
Hi! We are using setjmp(__bailout) in zend_try, but setjmp behaves differently on BSD and Linux. POSIX doesn't specify whether the signal mask should be saved or not for this call, so different operating systems do different things here. I think it would be more consistent if we used sigset

[PHP-DEV] setjmp usage

2008-03-17 Thread Rasmus Lerdorf
We are using setjmp(__bailout) in zend_try, but setjmp behaves differently on BSD and Linux. POSIX doesn't specify whether the signal mask should be saved or not for this call, so different operating systems do different things here. I think it would be more consistent if we used sigsetjmp(__