Commit c14e53a4 authored by Richard M. Stallman's avatar Richard M. Stallman

(create_process): Do setpgrp for USG regardless of IRIX.

(process_send_signal) [IRIX5]: For SIGTSTP, use VSUSP, not VSWTCH.
parent b16375c2
......@@ -1231,7 +1231,7 @@ create_process (process, new_argv, current_dir)
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 @@ process_send_signal (process, signo, current_group, nomsg)
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);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment