[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.1 and 1.2

version 1.1, 1999/09/26 20:53:36 version 1.2, 1999/09/29 21:15:54
Line 246 
Line 246 
       close(fd);        close(fd);
     }      }
 #endif /* TIOCNOTTY */  #endif /* TIOCNOTTY */
 #ifdef HAVE_SETSID  
 #ifdef ultrix  
   setpgrp(0, 0);  
 #else /* ultrix */  
   if (setsid() < 0)    if (setsid() < 0)
     error("setsid: %.100s", strerror(errno));      error("setsid: %.100s", strerror(errno));
 #endif /* ultrix */  
 #endif /* HAVE_SETSID */  
   
   /* Verify that we are successfully disconnected from the controlling tty. */    /* Verify that we are successfully disconnected from the controlling tty. */
   fd = open("/dev/tty", O_RDWR|O_NOCTTY);    fd = open("/dev/tty", O_RDWR|O_NOCTTY);

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.2