aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorRichard M. Stallman1994-01-14 18:09:06 +0000
committerRichard M. Stallman1994-01-14 18:09:06 +0000
commitb026af49147c44643812fc85d458c1c5179524be (patch)
treef1a36ddef823557202743579126f114d1ef45e2e /src
parentca33ccb548fe2ed658f97020ee97089c2160b72b (diff)
downloademacs-b026af49147c44643812fc85d458c1c5179524be.tar.gz
emacs-b026af49147c44643812fc85d458c1c5179524be.zip
(main) [USG5 and INTERRUPT_INPUT]: Call setpgrp.
Diffstat (limited to 'src')
-rw-r--r--src/emacs.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/emacs.c b/src/emacs.c
index 143a85020c5..bd5e175bebe 100644
--- a/src/emacs.c
+++ b/src/emacs.c
@@ -346,6 +346,10 @@ main (argc, argv, envp)
346 inherited_pgroup = EMACS_GETPGRP (0); 346 inherited_pgroup = EMACS_GETPGRP (0);
347 setpgrp (0, getpid ()); 347 setpgrp (0, getpid ());
348 } 348 }
349#else
350#if defined (USG5) && defined (INTERRUPT_INPUT)
351 setpgrp ();
352#endif
349#endif 353#endif
350 354
351 355