NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
lib/39000: sigpending doen't modify its set argument
>Number: 39000
>Category: lib
>Synopsis: sigpending doen't modify its set argument
>Confidential: no
>Severity: serious
>Priority: high
>Responsible: lib-bug-people
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Fri Jun 20 15:00:00 +0000 2008
>Originator: BERTRAND Joël
>Release: 4.0
>Organization:
>Environment:
NetBSD riemann 4.0 NetBSD 4.0 (GENERIC.MP) #0: Sun Dec 16 02:23:20 PST 2007
builds@wb29:/home/builds/ab/netbsd-4-0-RELEASE/sparc/200712160005Z-obj/home/builds/ab/netbsd-4-0-RELEASE/src/sys/arch/sparc/compile/GENERIC.MP
sparc
>Description:
sigpending doesn't work. "set" argument is not modified when signal is caught.
>How-To-Repeat:
Try to build a simple program with :
while(sigismember(&set, SIGUSR1) == 0)
{
if (sigpending(&set) != 0)
{
exit(0);
}
}
Run this code, and send SIGUSR1. 'set' variable is never modified.
>Fix:
Home |
Main Index |
Thread Index |
Old Index