[BACK]Return to msgs.c CVS log [TXT][DIR] Up to [local] / src / usr.bin / msgs

Diff for /src/usr.bin/msgs/Attic/msgs.c between version 1.17 and 1.18

version 1.17, 2000/08/02 04:10:48 version 1.18, 2001/09/04 23:35:59
Line 715 
Line 715 
 onsusp(unused)  onsusp(unused)
         int unused;          int unused;
 {  {
           sigset_t emptyset;
   
         signal(SIGTSTP, SIG_DFL);          signal(SIGTSTP, SIG_DFL);
         sigsetmask(0);          sigemptyset(&emptyset);
           sigprocmask(SIG_SETMASK, &emptyset, NULL);
         kill(0, SIGTSTP);          kill(0, SIGTSTP);
         signal(SIGTSTP, onsusp);          signal(SIGTSTP, onsusp);
         if (!mailing)          if (!mailing)

Legend:
Removed from v.1.17  
changed lines
  Added in v.1.18