SIGSTOP being in _NSIG nowadays caused test8 to break - fixed.
This commit is contained in:
parent
154cd91888
commit
38987ff79a
1 changed files with 1 additions and 1 deletions
|
@ -244,8 +244,8 @@ void test8b()
|
||||||
if (sigdelset(&s_nokill, SIGKILL) != 0) e(8);
|
if (sigdelset(&s_nokill, SIGKILL) != 0) e(8);
|
||||||
#ifndef _MINIX /* XXX - should unsupported signals be <= _NSIG? */
|
#ifndef _MINIX /* XXX - should unsupported signals be <= _NSIG? */
|
||||||
if (SIGSTOP > _NSIG) e(666);
|
if (SIGSTOP > _NSIG) e(666);
|
||||||
#endif /* _MINIX */
|
|
||||||
if (SIGSTOP <= _NSIG && sigdelset(&s_nokill, SIGSTOP) != 0) e(888);
|
if (SIGSTOP <= _NSIG && sigdelset(&s_nokill, SIGSTOP) != 0) e(888);
|
||||||
|
#endif /* _MINIX */
|
||||||
|
|
||||||
/* Now get most of the signals into default state. Don't change SIGINT
|
/* Now get most of the signals into default state. Don't change SIGINT
|
||||||
* or SIGQUIT, so this program can be killed. SIGKILL is also special.
|
* or SIGQUIT, so this program can be killed. SIGKILL is also special.
|
||||||
|
|
Loading…
Reference in a new issue