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

Diff for /src/usr.bin/ssh/monitor.c between version 1.211 and 1.212

version 1.211, 2020/07/05 23:59:45 version 1.212, 2020/07/07 02:47:21
Line 1324 
Line 1324 
         if (fd0 != 0)          if (fd0 != 0)
                 error("%s: fd0 %d != 0", __func__, fd0);                  error("%s: fd0 %d != 0", __func__, fd0);
   
         /* only need pty master side */          /* slave side of pty is not needed */
         close(s->ttyfd);          close(s->ttyfd);
         s->ttyfd = s->ptyfd;          s->ttyfd = s->ptyfd;
         /* no need to dup() because nobody closes ptyfd */          /* no need to dup() because nobody closes ptyfd */

Legend:
Removed from v.1.211  
changed lines
  Added in v.1.212