This is the mail archive of the
cygwin-developers@sources.redhat.com
mailing list for the Cygwin project.
Re: testsuite signal handling patch
- To: Egor Duda <cygwin-developers at sourceware dot cygnus dot com>
- Subject: Re: testsuite signal handling patch
- From: Chris Faylor <cgf at cygnus dot com>
- Date: Mon, 4 Sep 2000 13:43:32 -0400
- References: <51226485839.20000904131022@logos-m.ru> <147231928395.20000904144106@logos-m.ru> <20000904131036.A24177@cygnus.com>
- Reply-To: cygwin-developers at sources dot redhat dot com
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