diff options
| author | Richard M. Stallman | 1994-02-17 02:59:48 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 1994-02-17 02:59:48 +0000 |
| commit | 0ba736093658ba2634b8d567dcec82181a998652 (patch) | |
| tree | 7aa4b5df3f2bb3d69d12afcadf488b6c5e67fb8e /src | |
| parent | eaa2dcbd2c61d45b8cd2e824792a3b6be4568c1b (diff) | |
| download | emacs-0ba736093658ba2634b8d567dcec82181a998652.tar.gz emacs-0ba736093658ba2634b8d567dcec82181a998652.zip | |
(init_sys_modes, reset_sys_modes): Test BSD_PGRPS.
(narrow_foreground_group, widen_foreground_group): Define if BSD_PGRPS.
Diffstat (limited to 'src')
| -rw-r--r-- | src/sysdep.c | 8 |
1 files 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 () | |||
| 834 | 834 | ||
| 835 | /* Saving and restoring the process group of Emacs's terminal. */ | 835 | /* Saving and restoring the process group of Emacs's terminal. */ |
| 836 | 836 | ||
| 837 | #ifdef BSD | 837 | #ifdef BSD_PGRPS |
| 838 | 838 | ||
| 839 | /* The process group of which Emacs was a member when it initially | 839 | /* The process group of which Emacs was a member when it initially |
| 840 | started. | 840 | started. |
| @@ -878,7 +878,7 @@ widen_foreground_group () | |||
| 878 | setpgrp (0, inherited_pgroup); | 878 | setpgrp (0, inherited_pgroup); |
| 879 | } | 879 | } |
| 880 | 880 | ||
| 881 | #endif | 881 | #endif /* BSD_PGRPS */ |
| 882 | 882 | ||
| 883 | /* Getting and setting emacs_tty structures. */ | 883 | /* Getting and setting emacs_tty structures. */ |
| 884 | 884 | ||
| @@ -1111,7 +1111,7 @@ init_sys_modes () | |||
| 1111 | #endif | 1111 | #endif |
| 1112 | #endif /* not VMS */ | 1112 | #endif /* not VMS */ |
| 1113 | 1113 | ||
| 1114 | #ifdef BSD | 1114 | #ifdef BSD_PGRPS |
| 1115 | if (! read_socket_hook && EQ (Vwindow_system, Qnil)) | 1115 | if (! read_socket_hook && EQ (Vwindow_system, Qnil)) |
| 1116 | narrow_foreground_group (); | 1116 | narrow_foreground_group (); |
| 1117 | #endif | 1117 | #endif |
| @@ -1483,7 +1483,7 @@ reset_sys_modes () | |||
| 1483 | hft_reset (); | 1483 | hft_reset (); |
| 1484 | #endif | 1484 | #endif |
| 1485 | 1485 | ||
| 1486 | #ifdef BSD | 1486 | #ifdef BSD_PGRPS |
| 1487 | widen_foreground_group (); | 1487 | widen_foreground_group (); |
| 1488 | #endif | 1488 | #endif |
| 1489 | } | 1489 | } |