comparison src/process.c @ 6947:c5f990fad6bb

(create_process): Fix previous change.
author Richard M. Stallman <rms@gnu.org>
date Mon, 18 Apr 1994 17:40:25 +0000
parents a2f4fd22e71f
children b7411e378b65
comparison
equal deleted inserted replaced
6946:da863741c5b8 6947:c5f990fad6bb
1288 afterwards. Otherwise, we lose our controlling tty which 1288 afterwards. Otherwise, we lose our controlling tty which
1289 is set when we open the pty. */ 1289 is set when we open the pty. */
1290 setpgrp (); 1290 setpgrp ();
1291 #endif /* USG */ 1291 #endif /* USG */
1292 #endif /* not HAVE_SETSID */ 1292 #endif /* not HAVE_SETSID */
1293 #if defined (NTTYDISC) || defined (TIOCSETD) 1293 #if defined (NTTYDISC) && defined (TIOCSETD)
1294 if (pty_flag && xforkin >= 0) 1294 if (pty_flag && xforkin >= 0)
1295 { 1295 {
1296 /* Use new line discipline. */ 1296 /* Use new line discipline. */
1297 int ldisc = NTTYDISC; 1297 int ldisc = NTTYDISC;
1298 if (ioctl (xforkin, TIOCSETD, &ldisc) < 0) 1298 if (ioctl (xforkin, TIOCSETD, &ldisc) < 0)