Fix bit-twiddling in sigismember(3).

Note this ONLY affects the function version - the macro version is always
used unless for some reason you put #undef sigismember in your code before
calling it.
PR:		3615
Submitted by:	Nanbor Wang <nw1@cs.wustl.edu> (slightly amended patch)
This commit is contained in:
James Raynard 1997-11-21 23:18:05 +00:00
parent b20f1ceeee
commit 46eba3e8b7
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=31340

View File

@ -84,5 +84,5 @@ sigismember(set, signo)
const sigset_t *set;
int signo;
{
return ((*set & ~sigmask(signo)) != 0);
return ((*set & sigmask(signo)) != 0);
}