# HG changeset patch # User Richard M. Stallman # Date 761453988 0 # Node ID 1b850ec1a5e2d5e88d163fb90de5e5ebdcff99be # Parent 468b56386da3f397aa9ff3e386e4e5db149993fd (init_sys_modes, reset_sys_modes): Test BSD_PGRPS. (narrow_foreground_group, widen_foreground_group): Define if BSD_PGRPS. diff -r 468b56386da3 -r 1b850ec1a5e2 src/sysdep.c --- a/src/sysdep.c Thu Feb 17 02:18:09 1994 +0000 +++ b/src/sysdep.c Thu Feb 17 02:59:48 1994 +0000 @@ -834,7 +834,7 @@ /* 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 @@ setpgrp (0, inherited_pgroup); } -#endif +#endif /* BSD_PGRPS */ /* Getting and setting emacs_tty structures. */ @@ -1111,7 +1111,7 @@ #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 @@ hft_reset (); #endif -#ifdef BSD +#ifdef BSD_PGRPS widen_foreground_group (); #endif }