Subject: lib/297: sigismember bug?
To: None <gnats-admin>
From: James Jegers <jimj@enigma.cs.uwm.edu>
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
>Organization:
"	"
>Release:        
>Environment:
	
System: NetBSD enigma.cs.uwm.edu 0.9C ENIGMA#1 i386


>Description:
	
	sigismember always returns true(1)
>How-To-Repeat:
	compile cvs, run it, and it will hang.
	
>Fix:
	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.
	
>Audit-Trail:
>Unformatted:


------------------------------------------------------------------------------