From b68f1a63fe249a5f5dc182d869625971838ddbd9 Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Sun, 9 Jun 1996 20:14:44 +0000 Subject: [PATCH] (DONT_REOPEN_PTY): New definition. --- src/s/freebsd.h | 5 +++++ 1 file changed, 5 insertions(+) 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 . */ #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 -- 2.39.2