# HG changeset patch # User Richard M. Stallman # Date 767851626 0 # Node ID f87808bd90e9b39cfcf5ceb12cd54c82342ad686 # Parent bca3fe63efec33779842f9dba184d48341d56bcd (create_process): Undo April 19 setsid change. diff -r bca3fe63efec -r f87808bd90e9 src/process.c --- a/src/process.c Mon May 02 00:48:12 1994 +0000 +++ b/src/process.c Mon May 02 04:07:06 1994 +0000 @@ -1277,10 +1277,12 @@ #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. */