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

Diff for /src/usr.bin/ssh/clientloop.c between version 1.5 and 1.6

version 1.5, 1999/09/30 05:53:04 version 1.6, 1999/09/30 08:34:24
Line 129 
Line 129 
 /* Signal handler for the window change signal (SIGWINCH).  This just  /* Signal handler for the window change signal (SIGWINCH).  This just
    sets a flag indicating that the window has changed. */     sets a flag indicating that the window has changed. */
   
 RETSIGTYPE window_change_handler(int sig)  void window_change_handler(int sig)
 {  {
   received_window_change_signal = 1;    received_window_change_signal = 1;
   signal(SIGWINCH, window_change_handler);    signal(SIGWINCH, window_change_handler);
Line 138 
Line 138 
 /* Signal handler for signals that cause the program to terminate.  These  /* Signal handler for signals that cause the program to terminate.  These
    signals must be trapped to restore terminal modes. */     signals must be trapped to restore terminal modes. */
   
 RETSIGTYPE signal_handler(int sig)  void signal_handler(int sig)
 {  {
   if (in_raw_mode)    if (in_raw_mode)
     leave_raw_mode();      leave_raw_mode();

Legend:
Removed from v.1.5  
changed lines
  Added in v.1.6