From 7ce486180bb65a66b58103891224a563ec4b4d7b Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Mon, 2 May 1994 04:07:06 +0000 Subject: [PATCH] (create_process): Undo April 19 setsid change. --- src/process.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/process.c b/src/process.c index 26c59b8ff86..9ef6eb1dede 100644 --- a/src/process.c +++ b/src/process.c @@ -1277,10 +1277,12 @@ create_process (process, new_argv, current_dir) #ifdef HAVE_PTYS /* First, disconnect its current controlling terminal. */ #ifdef HAVE_SETSID + /* We tried doing setsid only if pty_flag, but it caused + process_set_signal to fail on SGI when using a pipe. */ + setsid (); /* Make the pty's terminal the controlling terminal. */ if (pty_flag) { - setsid (); #ifdef TIOCSCTTY /* We ignore the return value because faith@cs.unc.edu says that is necessary on Linux. */ -- 2.39.5