diff options
| author | Joakim Verona | 2012-10-25 13:00:31 +0200 |
|---|---|---|
| committer | Joakim Verona | 2012-10-25 13:00:31 +0200 |
| commit | d1eb940020b683ef6864eb6a105dbc8eb3d9452a (patch) | |
| tree | 4d6dc0dd1d8c2921956173d99d4268215a8e3a81 /src/term.c | |
| parent | fd0ea43455f2bd9c96f76b87188f0808bd6ce213 (diff) | |
| parent | cee6efdef3af910f952968a28094e89bde13faed (diff) | |
| download | emacs-d1eb940020b683ef6864eb6a105dbc8eb3d9452a.tar.gz emacs-d1eb940020b683ef6864eb6a105dbc8eb3d9452a.zip | |
upstream
Diffstat (limited to 'src/term.c')
| -rw-r--r-- | src/term.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/term.c b/src/term.c index f7c87b7608d..74b02b0af27 100644 --- a/src/term.c +++ b/src/term.c | |||
| @@ -2919,7 +2919,7 @@ static void | |||
| 2919 | dissociate_if_controlling_tty (int fd) | 2919 | dissociate_if_controlling_tty (int fd) |
| 2920 | { | 2920 | { |
| 2921 | #ifndef DOS_NT | 2921 | #ifndef DOS_NT |
| 2922 | int pgid = tcgetpgrp (fd); /* If tcgetpgrp succeeds, fd is the ctty. */ | 2922 | pid_t pgid = tcgetpgrp (fd); /* If tcgetpgrp succeeds, fd is the ctty. */ |
| 2923 | if (pgid != -1) | 2923 | if (pgid != -1) |
| 2924 | { | 2924 | { |
| 2925 | #if defined (USG5) | 2925 | #if defined (USG5) |