diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/callproc.c | 4 |
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 |
| 60 | extern noshare char **environ; | 61 | extern 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; |