aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/process.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/process.c b/src/process.c
index eac1f839f99..0fb8969d402 100644
--- a/src/process.c
+++ b/src/process.c
@@ -1436,7 +1436,8 @@ create_process (process, new_argv, current_dir)
1436 } 1436 }
1437#endif /* TIOCNOTTY */ 1437#endif /* TIOCNOTTY */
1438 1438
1439#if !defined (RTU) && !defined (UNIPLUS) && !defined (DONT_REOPEN_PTY) 1439#if !defined (RTU) && !defined (UNIPLUS)
1440#if !(defined (HAVE_SETSID) && defined (TIOCSCTTY))
1440/*** There is a suggestion that this ought to be a 1441/*** There is a suggestion that this ought to be a
1441 conditional on TIOCSPGRP. */ 1442 conditional on TIOCSPGRP. */
1442 /* Now close the pty (if we had it open) and reopen it. 1443 /* Now close the pty (if we had it open) and reopen it.
@@ -1465,7 +1466,8 @@ create_process (process, new_argv, current_dir)
1465 ioctl (xforkout, TIOCSPGRP, &pgrp); 1466 ioctl (xforkout, TIOCSPGRP, &pgrp);
1466#endif 1467#endif
1467 } 1468 }
1468#endif /* not UNIPLUS and not RTU and not DONT_REOPEN_PTY */ 1469#endif /* not (HAVE_SETSID and TIOCSCTTY) */
1470#endif /* not UNIPLUS and not RTU */
1469 1471
1470#ifdef SETUP_SLAVE_PTY 1472#ifdef SETUP_SLAVE_PTY
1471 if (pty_flag) 1473 if (pty_flag)