changeset 5181:31874690939f

(create_process): Do setpgrp for USG regardless of IRIX. (process_send_signal) [IRIX5]: For SIGTSTP, use VSUSP, not VSWTCH.
author Richard M. Stallman <rms@gnu.org>
date Thu, 25 Nov 1993 21:36:51 +0000
parents e729bdc5293e
children 9a7ef5c29ab9
files src/process.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- 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);