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

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

version 1.17, 1997/08/31 18:00:43 version 1.18, 1997/09/03 18:01:01
Line 380 
Line 380 
                 }                  }
                 sleep(1);                  sleep(1);
   
                   msg("\aconnection closed.");
                   exit(1);
           }
   
         /*          /*
          * Use sigaction() instead of signal() to avoid getting SIGCHLDs           * Use sigaction() instead of signal() to avoid getting SIGCHLDs
          * for stopped children.           * for stopped children.
Line 388 
Line 392 
         sa.sa_flags = SA_RESTART | SA_NOCLDSTOP;          sa.sa_flags = SA_RESTART | SA_NOCLDSTOP;
         sa.sa_handler = catch_child;          sa.sa_handler = catch_child;
         (void)sigaction(SIGCHLD, &sa, NULL);          (void)sigaction(SIGCHLD, &sa, NULL);
   
                 msg("\aconnection closed.");  
                 exit(1);  
         }  
   
         /*          /*
          * We may still own the socket, and may have a pending SIGURG (or might           * We may still own the socket, and may have a pending SIGURG (or might

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