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

Diff for /src/usr.bin/systat/main.c between version 1.28 and 1.29

version 1.28, 2003/12/17 20:58:39 version 1.29, 2004/04/14 19:53:04
Line 133 
Line 133 
         siginterrupt(SIGQUIT, 1);          siginterrupt(SIGQUIT, 1);
         signal(SIGTERM, sigdie);          signal(SIGTERM, sigdie);
         siginterrupt(SIGTERM, 1);          siginterrupt(SIGTERM, 1);
           signal(SIGTSTP, sigtstp);
           siginterrupt(SIGTSTP, 1);
   
         /*          /*
          * Initialize display.  Load average appears in a one line           * Initialize display.  Load average appears in a one line
Line 269 
Line 271 
 volatile sig_atomic_t gotdie;  volatile sig_atomic_t gotdie;
 volatile sig_atomic_t gotdisplay;  volatile sig_atomic_t gotdisplay;
 volatile sig_atomic_t gotwinch;  volatile sig_atomic_t gotwinch;
   volatile sig_atomic_t gottstp;
   
 void  void
 sigdie(signo)  sigdie(int signo)
         int signo;  
 {  {
         gotdie = 1;          gotdie = 1;
   }
   
   void
   sigtstp(int signo)
   {
           gottstp = 1;
 }  }
   
 void  void

Legend:
Removed from v.1.28  
changed lines
  Added in v.1.29