diff options
| author | Dan Nicolaescu <dann@ics.uci.edu> | 2010-05-04 00:40:53 -0700 |
|---|---|---|
| committer | Dan Nicolaescu <dann@ics.uci.edu> | 2010-05-04 00:40:53 -0700 |
| commit | 58eb6cf0f77547d29f4fddca922eb6f98c0ffb28 (patch) | |
| tree | dc7bd97ce77e679cfb648145413039dff6ff4c92 /src/emacs.c | |
| parent | ef03a4e61efa0003b1b6be961b58297ccfddc664 (diff) | |
| download | emacs-58eb6cf0f77547d29f4fddca922eb6f98c0ffb28.tar.gz | |
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/emacs.c')
| -rw-r--r-- | src/emacs.c | 15 |
1 files changed, 1 insertions, 14 deletions
diff --git a/src/emacs.c b/src/emacs.c index d40ff3662f0..06c686d9950 100644 --- a/src/emacs.c +++ b/src/emacs.c @@ -81,7 +81,7 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */ #endif #ifdef HAVE_SETPGID -#if !defined (USG) || defined (BSD_PGRPS) +#if !defined (USG) #undef setpgrp #define setpgrp setpgid #endif @@ -193,11 +193,6 @@ EMACS_INT emacs_priority; data on the first attempt to change it inside asynchronous code. */ int running_asynch_code; -#ifdef BSD_PGRPS -/* See sysdep.c. */ -extern int inherited_pgroup; -#endif - #if defined(HAVE_X_WINDOWS) || defined(HAVE_NS) /* If non-zero, -d was specified, meaning we're using some window system. */ int display_arg; @@ -1187,17 +1182,9 @@ main (int argc, char **argv) if (! noninteractive) { -#ifdef BSD_PGRPS - if (initialized) - { - inherited_pgroup = EMACS_GETPGRP (0); - setpgrp (0, getpid ()); - } -#else #if defined (USG5) && defined (INTERRUPT_INPUT) setpgrp (); #endif -#endif #if defined (HAVE_GTK_AND_PTHREAD) && !defined (SYSTEM_MALLOC) && !defined (DOUG_LEA_MALLOC) { extern void malloc_enable_thread P_ ((void)); |
