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

Diff for /src/usr.bin/ssh/mux.c between version 1.26 and 1.27

version 1.26, 2011/05/05 05:12:08 version 1.27, 2011/05/06 21:34:32
Line 70 
Line 70 
   
 /* from ssh.c */  /* from ssh.c */
 extern int tty_flag;  extern int tty_flag;
 extern int force_tty_flag;  
 extern Options options;  extern Options options;
 extern int stdin_null_flag;  extern int stdin_null_flag;
 extern char *host;  extern char *host;
Line 1686 
Line 1685 
         signal(SIGWINCH, control_client_sigrelay);          signal(SIGWINCH, control_client_sigrelay);
   
         if (tty_flag)          if (tty_flag)
                 enter_raw_mode(force_tty_flag);                  enter_raw_mode(options.request_tty == REQUEST_TTY_FORCE);
   
         /*          /*
          * Stick around until the controlee closes the client_fd.           * Stick around until the controlee closes the client_fd.
Line 1715 
Line 1714 
         }          }
   
         close(fd);          close(fd);
         leave_raw_mode(force_tty_flag);          leave_raw_mode(options.request_tty == REQUEST_TTY_FORCE);
   
         if (muxclient_terminate) {          if (muxclient_terminate) {
                 debug2("Exiting on signal %d", muxclient_terminate);                  debug2("Exiting on signal %d", muxclient_terminate);

Legend:
Removed from v.1.26  
changed lines
  Added in v.1.27