mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2025-01-01 00:18:15 +01:00
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:
parent
b20f1ceeee
commit
46eba3e8b7
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=31340
@ -84,5 +84,5 @@ sigismember(set, signo)
|
||||
const sigset_t *set;
|
||||
int signo;
|
||||
{
|
||||
return ((*set & ~sigmask(signo)) != 0);
|
||||
return ((*set & sigmask(signo)) != 0);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user