diff options
| author | Dan Nicolaescu | 2010-05-04 00:40:53 -0700 |
|---|---|---|
| committer | Dan Nicolaescu | 2010-05-04 00:40:53 -0700 |
| commit | 58eb6cf0f77547d29f4fddca922eb6f98c0ffb28 (patch) | |
| tree | dc7bd97ce77e679cfb648145413039dff6ff4c92 /src/callproc.c | |
| parent | ef03a4e61efa0003b1b6be961b58297ccfddc664 (diff) | |
| download | emacs-58eb6cf0f77547d29f4fddca922eb6f98c0ffb28.tar.gz emacs-58eb6cf0f77547d29f4fddca922eb6f98c0ffb28.zip | |
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.
Diffstat (limited to 'src/callproc.c')
| -rw-r--r-- | src/callproc.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/callproc.c b/src/callproc.c index 317636d9cc8..44dd6ed7764 100644 --- a/src/callproc.c +++ b/src/callproc.c | |||
| @@ -91,7 +91,7 @@ extern char **environ; | |||
| 91 | #endif | 91 | #endif |
| 92 | 92 | ||
| 93 | #ifdef HAVE_SETPGID | 93 | #ifdef HAVE_SETPGID |
| 94 | #if !defined (USG) || defined (BSD_PGRPS) | 94 | #if !defined (USG) |
| 95 | #undef setpgrp | 95 | #undef setpgrp |
| 96 | #define setpgrp setpgid | 96 | #define setpgrp setpgid |
| 97 | #endif | 97 | #endif |
| @@ -581,7 +581,7 @@ usage: (call-process PROGRAM &optional INFILE BUFFER DISPLAY &rest ARGS) */) | |||
| 581 | #ifdef HAVE_SETSID | 581 | #ifdef HAVE_SETSID |
| 582 | setsid (); | 582 | setsid (); |
| 583 | #endif | 583 | #endif |
| 584 | #if defined (USG) && !defined (BSD_PGRPS) | 584 | #if defined (USG) |
| 585 | setpgrp (); | 585 | setpgrp (); |
| 586 | #else | 586 | #else |
| 587 | setpgrp (pid, pid); | 587 | setpgrp (pid, pid); |
| @@ -1251,7 +1251,7 @@ child_setup (in, out, err, new_argv, set_pgrp, current_dir) | |||
| 1251 | #endif /* not MSDOS */ | 1251 | #endif /* not MSDOS */ |
| 1252 | #endif /* not WINDOWSNT */ | 1252 | #endif /* not WINDOWSNT */ |
| 1253 | 1253 | ||
| 1254 | #if defined(USG) && !defined(BSD_PGRPS) | 1254 | #if defined(USG) |
| 1255 | #ifndef SETPGRP_RELEASES_CTTY | 1255 | #ifndef SETPGRP_RELEASES_CTTY |
| 1256 | setpgrp (); /* No arguments but equivalent in this case */ | 1256 | setpgrp (); /* No arguments but equivalent in this case */ |
| 1257 | #endif | 1257 | #endif |