- if (sigsok == -1) {
- /* block a couple of signals */
- sigemptyset (&set);
- sigaddset (&set, SIGINT);
- sigaddset (&set, SIGQUIT);
- SIGPROCMASK (SIG_BLOCK, &set, &oset);
- }
+ if (sigsok == -1) {
+ /* ignore a couple of signals */
+ istat = SIGNAL(SIGINT, SIG_IGN);
+ qstat = SIGNAL(SIGQUIT, SIG_IGN);
+ }