comparison src/s/irix4-0.h @ 3782:5b61a650f347

Changes for correct pgrp behavior from Bob Glickstein <bobg@zindigo.z-code.com>: * m/iris4d.h (LIB_STANDARD): Do include -lbsd here. * s/irix4-0.h (USE_IRIX_BSDPGRP): #define this. (GETPGRP_NO_ARG): Don't #define this. * callproc.c [USE_IRIX_BSDPGRP] (Fcall_process): Call BSDsetpgrp instead of plain setpgrp. [USE_IRIX_BSDPGRP] (child_setup): Same. * emacs.c [GETPGRP_NO_ARG] (main, shut_down_emacs): CPP clauses deleted; this flag isn't needed anymore. [USE_IRIX_BSDPGRP] (main, shut_down_emacs): Call BSDsetpgrp and BSDgetpgrp instead of plain setpgrp and getpgrp. * process.c [USE_IRIX_BSDPGRP] (create_process): Don't call setpgrp before opening the tty. Call BSDsetpgrp instead of setpgrp, after opening the tty. * sysdep.c [USE_IRIX_BSDPGRP] (sys_suspend, narrow_foreground_group, widen_foreground_group): Call BSDgetpgrp and BSDsetpgrp instead of getpgrp and setpgrp.
author Jim Blandy <jimb@redhat.com>
date Wed, 16 Jun 1993 23:49:54 +0000
parents 58a40b252797
children 13592aebe35e
comparison
equal deleted inserted replaced
3781:6c05414356bc 3782:5b61a650f347
1 #include "irix3-3.h" 1 #include "irix3-3.h"
2 2
3 #define USG5_3 3 #define USG5_3
4 #define IRIX4 4 #define IRIX4
5
6 #define USE_IRIX_BSDPGRP
5 7
6 #define HAVE_ALLOCA 8 #define HAVE_ALLOCA
7 #ifndef NOT_C_CODE 9 #ifndef NOT_C_CODE
8 #include <alloca.h> 10 #include <alloca.h>
9 #endif 11 #endif
51 } 53 }
52 54
53 /* jpff@maths.bath.ac.uk reports `struct exception' is not defined 55 /* jpff@maths.bath.ac.uk reports `struct exception' is not defined
54 on this system, so inhibit use of matherr. */ 56 on this system, so inhibit use of matherr. */
55 #define NO_MATHERR 57 #define NO_MATHERR
56
57 /* Info from simon@lia.di.epfl.ch (Simon Leinen) suggests this is needed. */
58 #define GETPGRP_NO_ARG