aboutsummaryrefslogtreecommitdiffstats
path: root/src/process.c
diff options
context:
space:
mode:
authorRichard M. Stallman1996-09-04 16:27:55 +0000
committerRichard M. Stallman1996-09-04 16:27:55 +0000
commit99c1aeca5e1b6296a2c604fb085562bdf393f1ba (patch)
tree9da106f7022ebf417cf3c1c6a8dc4e5a8175c97e /src/process.c
parentd9c1c409d69b3284fd2333cf671ab67ceefc44dd (diff)
downloademacs-99c1aeca5e1b6296a2c604fb085562bdf393f1ba.tar.gz
emacs-99c1aeca5e1b6296a2c604fb085562bdf393f1ba.zip
(create_process): Test HAVE_SETPGID for using setpgid.
Diffstat (limited to 'src/process.c')
-rw-r--r--src/process.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/process.c b/src/process.c
index b33b7201913..bb68c2b0a1e 100644
--- a/src/process.c
+++ b/src/process.c
@@ -1437,7 +1437,7 @@ create_process (process, new_argv, current_dir)
1437 /* In order to get a controlling terminal on some versions 1437 /* In order to get a controlling terminal on some versions
1438 of BSD, it is necessary to put the process in pgrp 0 1438 of BSD, it is necessary to put the process in pgrp 0
1439 before it opens the terminal. */ 1439 before it opens the terminal. */
1440#ifdef OSF1 1440#ifdef HAVE_SETPGID
1441 setpgid (0, 0); 1441 setpgid (0, 0);
1442#else 1442#else
1443 setpgrp (0, 0); 1443 setpgrp (0, 0);