sigaction in libpthread returns wrong old handler

Ulrich Drepper drepper@redhat.com
Fri Jan 11 17:37:00 GMT 2002


Andreas Schwab <schwab@suse.de> writes:

> When sigaction in libpthread is called the first time for a signal we
> don't know whether the old signal handler is SIG_DFL or SIG_IGN, so we
> must return the value that the kernel reports.

Thanks, I've applied this.  But it would really help if we could get
test cases.

-- 
---------------.                          ,-.   1325 Chesapeake Terrace
Ulrich Drepper  \    ,-------------------'   \  Sunnyvale, CA 94089 USA
Red Hat          `--' drepper at redhat.com   `------------------------



More information about the Libc-hacker mailing list