aboutsummaryrefslogtreecommitdiffstats
path: root/src/process.c
diff options
context:
space:
mode:
authorRichard M. Stallman1994-11-10 08:12:48 +0000
committerRichard M. Stallman1994-11-10 08:12:48 +0000
commit3ea1d2918f21eb9bd18c127f35838b4e978abb06 (patch)
tree1869cbfcc811174d9a15e3bc3399f2708f12a8ec /src/process.c
parent71edead178097eb7ba814ae169732ff6c4cc9b90 (diff)
downloademacs-3ea1d2918f21eb9bd18c127f35838b4e978abb06.tar.gz
emacs-3ea1d2918f21eb9bd18c127f35838b4e978abb06.zip
(create_process) [OSF1]: Use setpgid, not setpgrp.
Diffstat (limited to 'src/process.c')
-rw-r--r--src/process.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/process.c b/src/process.c
index 7ffe74ac821..b580b11b665 100644
--- a/src/process.c
+++ b/src/process.c
@@ -1403,8 +1403,12 @@ create_process (process, new_argv, current_dir)
1403 /* In order to get a controlling terminal on some versions 1403 /* In order to get a controlling terminal on some versions
1404 of BSD, it is necessary to put the process in pgrp 0 1404 of BSD, it is necessary to put the process in pgrp 0
1405 before it opens the terminal. */ 1405 before it opens the terminal. */
1406#ifdef OSF1
1407 setpgid (0, 0);
1408#else
1406 setpgrp (0, 0); 1409 setpgrp (0, 0);
1407#endif 1410#endif
1411#endif
1408 } 1412 }
1409#endif /* TIOCNOTTY */ 1413#endif /* TIOCNOTTY */
1410 1414