aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorRichard M. Stallman1993-12-25 01:45:14 +0000
committerRichard M. Stallman1993-12-25 01:45:14 +0000
commita129418f949cfb202c879274db8f4202d76fefd6 (patch)
treea8e208bd7d095c58d7a03972a8aca6a1afd97c9e /src
parent000ab717b0c940bdacc0875c27f1dc44ace08ac3 (diff)
downloademacs-a129418f949cfb202c879274db8f4202d76fefd6.tar.gz
emacs-a129418f949cfb202c879274db8f4202d76fefd6.zip
Include systty.h.
(child_setup): Use EMACS_SET_TTY_PGRP.
Diffstat (limited to 'src')
-rw-r--r--src/callproc.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/callproc.c b/src/callproc.c
index d46d8a32498..36f0d866ee3 100644
--- a/src/callproc.c
+++ b/src/callproc.c
@@ -55,6 +55,7 @@ extern char *sys_errlist[];
55#include <paths.h> 55#include <paths.h>
56#include "process.h" 56#include "process.h"
57#include "syssignal.h" 57#include "syssignal.h"
58#include "systty.h"
58 59
59#ifdef VMS 60#ifdef VMS
60extern noshare char **environ; 61extern noshare char **environ;
@@ -537,7 +538,8 @@ child_setup (in, out, err, new_argv, set_pgrp, current_dir)
537#else 538#else
538 setpgrp (pid, pid); 539 setpgrp (pid, pid);
539#endif /* USG */ 540#endif /* USG */
540 setpgrp_of_tty (pid); 541 /* setpgrp_of_tty is incorrect here; it uses input_fd. */
542 EMACS_SET_TTY_PGRP (0, &pid);
541 543
542#ifdef vipc 544#ifdef vipc
543 something missing here; 545 something missing here;