diff options
| author | Jim Blandy | 1993-06-17 05:04:57 +0000 |
|---|---|---|
| committer | Jim Blandy | 1993-06-17 05:04:57 +0000 |
| commit | 856a73b38b584fe962f413176ab310cd2b7689a9 (patch) | |
| tree | 037d457e4d5017d7021a61e0abae3083eee03e20 /src/s | |
| parent | afd0d2375ab44b40a81c7e509ebbddba688dea2e (diff) | |
| download | emacs-856a73b38b584fe962f413176ab310cd2b7689a9.tar.gz emacs-856a73b38b584fe962f413176ab310cd2b7689a9.zip | |
Changes for correct pgrp behavior; approach suggested by Bob
Glickstein <bobg@zindigo.z-code.com>:
* m/iris4d.h (LIB_STANDARD): Do list -lbsd here.
* s/irix4-0.h (getpgrp, setpgrp): #define these to call BSDgetpgrp
and BSDsetpgrp.
(GETPGRP_NO_ARG): Don't #define this.
* emacs.c (main): Don't test GETPGRP_NO_ARG.
* sysdep.c (sys_suspend): Don't test GETPGRP_NO_ARG.
Diffstat (limited to 'src/s')
| -rw-r--r-- | src/s/irix4-0.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/s/irix4-0.h b/src/s/irix4-0.h index 70c255044db..e2dbb37c37c 100644 --- a/src/s/irix4-0.h +++ b/src/s/irix4-0.h | |||
| @@ -3,8 +3,6 @@ | |||
| 3 | #define USG5_3 | 3 | #define USG5_3 |
| 4 | #define IRIX4 | 4 | #define IRIX4 |
| 5 | 5 | ||
| 6 | #define USE_IRIX_BSDPGRP | ||
| 7 | |||
| 8 | #define HAVE_ALLOCA | 6 | #define HAVE_ALLOCA |
| 9 | #ifndef NOT_C_CODE | 7 | #ifndef NOT_C_CODE |
| 10 | #include <alloca.h> | 8 | #include <alloca.h> |
| @@ -52,6 +50,10 @@ | |||
| 52 | strcpy (pty_name, name); \ | 50 | strcpy (pty_name, name); \ |
| 53 | } | 51 | } |
| 54 | 52 | ||
| 53 | /* Use the BSD versions of the getpgrp and setpgrp functions. */ | ||
| 54 | #define setpgrp(pid, pgrp) BSDsetpgrp((pid), (pgrp)) | ||
| 55 | #define getpgrp(pid) BSDgetpgrp(pid) | ||
| 56 | |||
| 55 | /* jpff@maths.bath.ac.uk reports `struct exception' is not defined | 57 | /* jpff@maths.bath.ac.uk reports `struct exception' is not defined |
| 56 | on this system, so inhibit use of matherr. */ | 58 | on this system, so inhibit use of matherr. */ |
| 57 | #define NO_MATHERR | 59 | #define NO_MATHERR |