From 0ba736093658ba2634b8d567dcec82181a998652 Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Thu, 17 Feb 1994 02:59:48 +0000 Subject: [PATCH] (init_sys_modes, reset_sys_modes): Test BSD_PGRPS. (narrow_foreground_group, widen_foreground_group): Define if BSD_PGRPS. --- src/sysdep.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/sysdep.c b/src/sysdep.c index 7953b41dbd0..058af1624d7 100644 --- a/src/sysdep.c +++ b/src/sysdep.c @@ -834,7 +834,7 @@ unrequest_sigio () /* Saving and restoring the process group of Emacs's terminal. */ -#ifdef BSD +#ifdef BSD_PGRPS /* The process group of which Emacs was a member when it initially started. @@ -878,7 +878,7 @@ widen_foreground_group () setpgrp (0, inherited_pgroup); } -#endif +#endif /* BSD_PGRPS */ /* Getting and setting emacs_tty structures. */ @@ -1111,7 +1111,7 @@ init_sys_modes () #endif #endif /* not VMS */ -#ifdef BSD +#ifdef BSD_PGRPS if (! read_socket_hook && EQ (Vwindow_system, Qnil)) narrow_foreground_group (); #endif @@ -1483,7 +1483,7 @@ reset_sys_modes () hft_reset (); #endif -#ifdef BSD +#ifdef BSD_PGRPS widen_foreground_group (); #endif } -- 2.39.5