# HG changeset patch # User Richard M. Stallman # Date 754263411 0 # Node ID 31874690939f5a8b0805fa0685a578d6a0f2ec23 # Parent e729bdc5293e63d34c9f3c32a7bcc9b3ee0a32ac (create_process): Do setpgrp for USG regardless of IRIX. (process_send_signal) [IRIX5]: For SIGTSTP, use VSUSP, not VSWTCH. diff -r e729bdc5293e -r 31874690939f src/process.c --- a/src/process.c Thu Nov 25 21:35:08 1993 +0000 +++ b/src/process.c Thu Nov 25 21:36:51 1993 +0000 @@ -1231,7 +1231,7 @@ ioctl (xforkin, TIOCSCTTY, 0); #endif #else /* not HAVE_SETSID */ -#if defined (USG) && !defined (IRIX) +#ifdef USG /* It's very important to call setpgrp() here and no time afterwards. Otherwise, we lose our controlling tty which is set when we open the pty. */ @@ -2370,7 +2370,7 @@ case SIGTSTP: tcgetattr (XINT (p->infd), &t); -#ifdef VSWTCH +#if defined (VSWTCH) && !defined (IRIX5) send_process (proc, &t.c_cc[VSWTCH], 1); #else send_process (proc, &t.c_cc[VSUSP], 1);