Subject: lib/297: sigismember bug?
To: None <gnats-admin>
From: James Jegers <>
List: netbsd-bugs
Date: 06/20/1994 19:35:02
>Number:         297
>Category:       lib
>Synopsis:       sigismember always returns true
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    gnats-admin (Library Bug People)
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Jun 20 19:35:02 1994
>Originator:     James Jegers
"	"
System: NetBSD 0.9C ENIGMA#1 i386

	sigismember always returns true(1)
	compile cvs, run it, and it will hang.
	The problem appears to be in the macro call.  If I compile cvs with the
	macro commented out and use the function call everything appears 
	to work correctly.  I checked the macro call for sigismember() and 
	it looks correct but possible because sigset_t is a 32bit int 
	because the way the check is done it could always be true.