testsuite signal handling patch

Chris Faylor cgf@cygnus.com
Mon Sep 4 10:44:00 GMT 2000


On Mon, Sep 04, 2000 at 01:10:36PM -0400, Chris Faylor wrote:
>On Mon, Sep 04, 2000 at 02:41:06PM +0400, Egor Duda wrote:
>>Hi!
>>
>>Monday, 04 September, 2000 Egor Duda deo@logos-m.ru wrote:
>>
>>ED>   currently,  tests  from winsup.api/ltp/ can possibly catch fatal
>>ED> signals such as SIGSEGV recursively. attached patch fixes this.
>>
>>btw,  shouldn't  call_handler()  set  signal  handler to SIG_DFL while
>>program is in handler?
>
>No.

Just to be a little more verbose, cygwin has AFAIK always followed the
BSD behavior of keeping a signal armed.

You're right that the sa_flags field isn't completely implemented.  I
keep waiting for someone to complain about that.

It shouldn't be hard to do the right thing.  I'll see what I can do.

cgf


More information about the Cygwin-developers mailing list