diff options
| author | Jim Blandy | 1993-06-17 22:03:06 +0000 |
|---|---|---|
| committer | Jim Blandy | 1993-06-17 22:03:06 +0000 |
| commit | b5aaed99d0021ea3c2943f98225239d051e60007 (patch) | |
| tree | eb28fa9b1d2c7ce03fc34cdcfcbc9c824dc93d43 /src/callproc.c | |
| parent | cca310dacfa95c43da82eb74136c56ad285fc33b (diff) | |
| download | emacs-b5aaed99d0021ea3c2943f98225239d051e60007.tar.gz emacs-b5aaed99d0021ea3c2943f98225239d051e60007.zip | |
* 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.") | |||
| 255 | { | 255 | { |
| 256 | if (fd[0] >= 0) | 256 | if (fd[0] >= 0) |
| 257 | close (fd[0]); | 257 | close (fd[0]); |
| 258 | #ifdef USG | 258 | #if defined (USG) && !defined (IRIX) |
| 259 | setpgrp (); | 259 | setpgrp (); |
| 260 | #else | 260 | #else |
| 261 | setpgrp (pid, pid); | 261 | setpgrp (pid, pid); |
| @@ -519,7 +519,7 @@ child_setup (in, out, err, new_argv, set_pgrp, current_dir) | |||
| 519 | close (out); | 519 | close (out); |
| 520 | close (err); | 520 | close (err); |
| 521 | 521 | ||
| 522 | #ifdef USG | 522 | #if defined (USG) && !defined (IRIX) |
| 523 | setpgrp (); /* No arguments but equivalent in this case */ | 523 | setpgrp (); /* No arguments but equivalent in this case */ |
| 524 | #else | 524 | #else |
| 525 | setpgrp (pid, pid); | 525 | setpgrp (pid, pid); |