[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.97 and 1.98

version 1.97, 2023/06/20 23:59:33 version 1.98, 2023/07/26 23:06:00
Line 1862 
Line 1862 
         const char *term = NULL;          const char *term = NULL;
         u_int i, echar, rid, sid, esid, exitval, type, exitval_seen;          u_int i, echar, rid, sid, esid, exitval, type, exitval_seen;
         extern char **environ;          extern char **environ;
         int r, rawmode;          int r, rawmode = 0;
   
         debug3_f("entering");          debug3_f("entering");
   
Line 1971 
Line 1971 
         ssh_signal(SIGTERM, control_client_sighandler);          ssh_signal(SIGTERM, control_client_sighandler);
         ssh_signal(SIGWINCH, control_client_sigrelay);          ssh_signal(SIGWINCH, control_client_sigrelay);
   
         rawmode = tty_flag;          if (options.fork_after_authentication)
         if (tty_flag)                  daemon(1, 1);
                 enter_raw_mode(options.request_tty == REQUEST_TTY_FORCE);          else {
                   rawmode = tty_flag;
                   if (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.

Legend:
Removed from v.1.97  
changed lines
  Added in v.1.98