Mercurial > emacs
changeset 5348:f921e3c48dcb
Include systty.h.
(child_setup): Use EMACS_SET_TTY_PGRP.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Sat, 25 Dec 1993 01:45:14 +0000 |
parents | 21bffe027a7d |
children | efcc2af40221 |
files | src/callproc.c |
diffstat | 1 files changed, 3 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/callproc.c Sat Dec 25 01:44:47 1993 +0000 +++ b/src/callproc.c Sat Dec 25 01:45:14 1993 +0000 @@ -55,6 +55,7 @@ #include <paths.h> #include "process.h" #include "syssignal.h" +#include "systty.h" #ifdef VMS extern noshare char **environ; @@ -537,7 +538,8 @@ #else setpgrp (pid, pid); #endif /* USG */ - setpgrp_of_tty (pid); + /* setpgrp_of_tty is incorrect here; it uses input_fd. */ + EMACS_SET_TTY_PGRP (0, &pid); #ifdef vipc something missing here;