diff options
author | Jim Blandy <jimb@redhat.com> | 1993-06-17 22:03:06 +0000 |
---|---|---|
committer | Jim Blandy <jimb@redhat.com> | 1993-06-17 22:03:06 +0000 |
commit | b5aaed99d0021ea3c2943f98225239d051e60007 (patch) | |
tree | eb28fa9b1d2c7ce03fc34cdcfcbc9c824dc93d43 /src/callproc.c | |
parent | cca310dacfa95c43da82eb74136c56ad285fc33b (diff) | |
download | emacs-b5aaed99d0021ea3c2943f98225239d051e60007.tar.gz |
* callproc.c (Fcall_process, child_setup): If IRIX is #defined,
call setpgrp with arguments, even if USG is #defined.
* process.c [IRIX] (create_process): Don't call setpgrp before
opening the pty. Call it after doing the TIOCNOTTY ioctl.
Diffstat (limited to 'src/callproc.c')
-rw-r--r-- | src/callproc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/callproc.c b/src/callproc.c index 51ba9301cdc..55d97a69ac0 100644 --- a/src/callproc.c +++ b/src/callproc.c @@ -255,7 +255,7 @@ If you quit, the process is killed with SIGINT, or SIGKILL if you quit again.") { if (fd[0] >= 0) close (fd[0]); -#ifdef USG +#if defined (USG) && !defined (IRIX) setpgrp (); #else setpgrp (pid, pid); @@ -519,7 +519,7 @@ child_setup (in, out, err, new_argv, set_pgrp, current_dir) close (out); close (err); -#ifdef USG +#if defined (USG) && !defined (IRIX) setpgrp (); /* No arguments but equivalent in this case */ #else setpgrp (pid, pid); |