# HG changeset patch # User Richard M. Stallman # Date 756783914 0 # Node ID f921e3c48dcb9766eea21b714b862a427cfb4bca # Parent 21bffe027a7d4b00a50142b23d2cd9eb94f110a7 Include systty.h. (child_setup): Use EMACS_SET_TTY_PGRP. diff -r 21bffe027a7d -r f921e3c48dcb src/callproc.c --- 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 #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;