summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>1996-06-09 20:14:44 +0000
committerRichard M. Stallman <rms@gnu.org>1996-06-09 20:14:44 +0000
commitb68f1a63fe249a5f5dc182d869625971838ddbd9 (patch)
tree11c36e873e536ce99073dcbd6050b013004f6a4e /src
parentf55aa55a81195ab36c92e3e80fd344adf6b5d6c9 (diff)
downloademacs-b68f1a63fe249a5f5dc182d869625971838ddbd9.tar.gz
(DONT_REOPEN_PTY): New definition.
Diffstat (limited to 'src')
-rw-r--r--src/s/freebsd.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/s/freebsd.h b/src/s/freebsd.h
index 9a32b9bf57d..ecfa869593f 100644
--- a/src/s/freebsd.h
+++ b/src/s/freebsd.h
@@ -92,3 +92,8 @@
/* Needed to avoid hanging when child process writes an error message
and exits -- enami tsugutomo <enami@ba2.so-net.or.jp>. */
#define vfork fork
+
+/* Don't close pty in process.c to make it as controlling terminal.
+ It is already a controlling terminal of subprocess, because we did
+ ioctl TIOCSCTTY. */
+#define DONT_REOPEN_PTY