Mercurial > emacs
diff src/term.c @ 108235:9aa39b975b8a
Remove BSD_PGRPS.
* s/bsd-common.h (BSD_PGRPS): Remove undef.
* s/gnu-linux.h (BSD_PGRPS): Remove.
* term.c (dissociate_if_controlling_tty):
* sysdep.c (narrow_foreground_group, widen_foreground_group)
(init_sys_modes, reset_sys_modes):
* emacs.c (main):
* callproc.c (Fcall_process, child_setup): Remove code depending
on BSD_PGRPS.
| author | Dan Nicolaescu <dann@ics.uci.edu> |
|---|---|
| date | Tue, 04 May 2010 00:40:53 -0700 |
| parents | 531d454c3a99 |
| children | 2bc9a0c04c87 |
line wrap: on
line diff
--- a/src/term.c Mon May 03 21:00:10 2010 -0700 +++ b/src/term.c Tue May 04 00:40:53 2010 -0700 @@ -3379,7 +3379,7 @@ EMACS_GET_TTY_PGRP (fd, &pgid); /* If tcgetpgrp succeeds, fd is the ctty. */ if (pgid != -1) { -#if defined (USG) && !defined (BSD_PGRPS) +#if defined (USG) setpgrp (); no_controlling_tty = 1; #elif defined (CYGWIN)
