Mercurial > emacs
comparison src/callproc.c @ 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 | 480731ff8e9a |
children | 902cd7024cfa |
comparison
equal
deleted
inserted
replaced
5347:21bffe027a7d | 5348:f921e3c48dcb |
---|---|
53 #include "commands.h" | 53 #include "commands.h" |
54 #include "buffer.h" | 54 #include "buffer.h" |
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 |
60 extern noshare char **environ; | 61 extern noshare char **environ; |
61 #else | 62 #else |
62 extern char **environ; | 63 extern char **environ; |
535 setpgrp (); /* No arguments but equivalent in this case */ | 536 setpgrp (); /* No arguments but equivalent in this case */ |
536 #endif | 537 #endif |
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; |
544 #endif /* vipc */ | 546 #endif /* vipc */ |
545 | 547 |