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

Diff for /src/usr.bin/ssh/Attic/pty.c between version 1.18 and 1.19

version 1.18, 2000/12/13 06:36:05 version 1.19, 2000/12/20 20:00:34
Line 211 
Line 211 
         /* Make it our controlling tty. */          /* Make it our controlling tty. */
 #ifdef TIOCSCTTY  #ifdef TIOCSCTTY
         debug("Setting controlling tty using TIOCSCTTY.");          debug("Setting controlling tty using TIOCSCTTY.");
         /*          if (ioctl(*ttyfd, TIOCSCTTY, NULL) < 0)
          * We ignore errors from this, because HPSUX defines TIOCSCTTY, but                  error("ioctl(TIOCSCTTY): %.100s", strerror(errno));
          * returns EINVAL with these arguments, and there is absolutely no  
          * documentation.  
          */  
         ioctl(*ttyfd, TIOCSCTTY, NULL);  
 #endif /* TIOCSCTTY */  #endif /* TIOCSCTTY */
         fd = open(ttyname, O_RDWR);          fd = open(ttyname, O_RDWR);
         if (fd < 0)          if (fd < 0)

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