changeset 15368:6229fb866493

(create_process): Add DONT_OPEN_PTY conditional.
author Richard M. Stallman <rms@gnu.org>
date Sun, 09 Jun 1996 20:15:20 +0000
parents 179cd20f2f8a
children 0c818ae83d43
files src/process.c
diffstat 1 files changed, 3 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/process.c	Sun Jun 09 20:14:44 1996 +0000
+++ b/src/process.c	Sun Jun 09 20:15:20 1996 +0000
@@ -1436,7 +1436,7 @@
 	  }
 #endif /* TIOCNOTTY */
 
-#if !defined (RTU) && !defined (UNIPLUS)
+#if !defined (RTU) && !defined (UNIPLUS) && !defined (DONT_REOPEN_PTY)
 /*** There is a suggestion that this ought to be a
      conditional on TIOCSPGRP.  */
 	/* Now close the pty (if we had it open) and reopen it.
@@ -1465,7 +1465,8 @@
 	    ioctl (xforkout, TIOCSPGRP, &pgrp);
 #endif
 	  }
-#endif /* not UNIPLUS and not RTU */
+#endif /* not UNIPLUS and not RTU and not DONT_REOPEN_PTY */
+
 #ifdef SETUP_SLAVE_PTY
 	if (pty_flag)
 	  {