diff options
| author | Richard M. Stallman | 1993-11-25 21:36:51 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 1993-11-25 21:36:51 +0000 |
| commit | c14e53a4425e5d54c160ff597d0059dabff0f9d5 (patch) | |
| tree | bf5d21a1161a8d7b684806f4dee6ee37e5c5a2f2 /src/process.c | |
| parent | b16375c25d27da49ded2fed70a91180b5d9f9c97 (diff) | |
| download | emacs-c14e53a4425e5d54c160ff597d0059dabff0f9d5.tar.gz emacs-c14e53a4425e5d54c160ff597d0059dabff0f9d5.zip | |
(create_process): Do setpgrp for USG regardless of IRIX.
(process_send_signal) [IRIX5]: For SIGTSTP, use VSUSP, not VSWTCH.
Diffstat (limited to 'src/process.c')
| -rw-r--r-- | src/process.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/process.c b/src/process.c index afa1651dfca..105e055b180 100644 --- a/src/process.c +++ b/src/process.c | |||
| @@ -1231,7 +1231,7 @@ create_process (process, new_argv, current_dir) | |||
| 1231 | ioctl (xforkin, TIOCSCTTY, 0); | 1231 | ioctl (xforkin, TIOCSCTTY, 0); |
| 1232 | #endif | 1232 | #endif |
| 1233 | #else /* not HAVE_SETSID */ | 1233 | #else /* not HAVE_SETSID */ |
| 1234 | #if defined (USG) && !defined (IRIX) | 1234 | #ifdef USG |
| 1235 | /* It's very important to call setpgrp() here and no time | 1235 | /* It's very important to call setpgrp() here and no time |
| 1236 | afterwards. Otherwise, we lose our controlling tty which | 1236 | afterwards. Otherwise, we lose our controlling tty which |
| 1237 | is set when we open the pty. */ | 1237 | is set when we open the pty. */ |
| @@ -2370,7 +2370,7 @@ process_send_signal (process, signo, current_group, nomsg) | |||
| 2370 | 2370 | ||
| 2371 | case SIGTSTP: | 2371 | case SIGTSTP: |
| 2372 | tcgetattr (XINT (p->infd), &t); | 2372 | tcgetattr (XINT (p->infd), &t); |
| 2373 | #ifdef VSWTCH | 2373 | #if defined (VSWTCH) && !defined (IRIX5) |
| 2374 | send_process (proc, &t.c_cc[VSWTCH], 1); | 2374 | send_process (proc, &t.c_cc[VSWTCH], 1); |
| 2375 | #else | 2375 | #else |
| 2376 | send_process (proc, &t.c_cc[VSUSP], 1); | 2376 | send_process (proc, &t.c_cc[VSUSP], 1); |