aboutsummaryrefslogtreecommitdiffstats
path: root/src/process.c
diff options
context:
space:
mode:
authorRichard M. Stallman1994-05-02 04:07:06 +0000
committerRichard M. Stallman1994-05-02 04:07:06 +0000
commit7ce486180bb65a66b58103891224a563ec4b4d7b (patch)
tree691100eea78a7e5a95082c046ba344ab97ae6c69 /src/process.c
parentf3942238d2e7fba57724b985a1ba3910cf692ea2 (diff)
downloademacs-7ce486180bb65a66b58103891224a563ec4b4d7b.tar.gz
emacs-7ce486180bb65a66b58103891224a563ec4b4d7b.zip
(create_process): Undo April 19 setsid change.
Diffstat (limited to 'src/process.c')
-rw-r--r--src/process.c4
1 files changed, 3 insertions, 1 deletions
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)
1277#ifdef HAVE_PTYS 1277#ifdef HAVE_PTYS
1278 /* First, disconnect its current controlling terminal. */ 1278 /* First, disconnect its current controlling terminal. */
1279#ifdef HAVE_SETSID 1279#ifdef HAVE_SETSID
1280 /* We tried doing setsid only if pty_flag, but it caused
1281 process_set_signal to fail on SGI when using a pipe. */
1282 setsid ();
1280 /* Make the pty's terminal the controlling terminal. */ 1283 /* Make the pty's terminal the controlling terminal. */
1281 if (pty_flag) 1284 if (pty_flag)
1282 { 1285 {
1283 setsid ();
1284#ifdef TIOCSCTTY 1286#ifdef TIOCSCTTY
1285 /* We ignore the return value 1287 /* We ignore the return value
1286 because faith@cs.unc.edu says that is necessary on Linux. */ 1288 because faith@cs.unc.edu says that is necessary on Linux. */