aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/process.c13
1 files changed, 7 insertions, 6 deletions
diff --git a/src/process.c b/src/process.c
index d43b4880f7b..301a44dd534 100644
--- a/src/process.c
+++ b/src/process.c
@@ -1245,12 +1245,13 @@ create_process (process, new_argv, current_dir)
1245#endif /* USG */ 1245#endif /* USG */
1246#endif /* not HAVE_SETSID */ 1246#endif /* not HAVE_SETSID */
1247#ifdef NTTYDISC 1247#ifdef NTTYDISC
1248 { 1248 if (pty_flag)
1249 /* Use new line discipline. */ 1249 {
1250 int ldisc = NTTYDISC; 1250 /* Use new line discipline. */
1251 if (ioctl (xforkin, TIOCSETD, &ldisc) < 0) 1251 int ldisc = NTTYDISC;
1252 write (1, "create_process/TIOCSETD failed\n", 31); 1252 if (ioctl (xforkin, TIOCSETD, &ldisc) < 0)
1253 } 1253 write (1, "create_process/TIOCSETD failed\n", 31);
1254 }
1254#endif 1255#endif
1255#ifdef TIOCNOTTY 1256#ifdef TIOCNOTTY
1256 /* In 4.3BSD, the TIOCSPGRP bug has been fixed, and now you 1257 /* In 4.3BSD, the TIOCSPGRP bug has been fixed, and now you