Changes for correct pgrp behavior from Bob Glickstein
commite1c9dcf88387efb52491db9fae1ba780fc6b2c81
authorJim Blandy <jimb@redhat.com>
Wed, 16 Jun 1993 23:49:54 +0000 (16 23:49 +0000)
committerJim Blandy <jimb@redhat.com>
Wed, 16 Jun 1993 23:49:54 +0000 (16 23:49 +0000)
treebd8e72fa7f4172274c6822ba4210aa3295f23c06
parent39b649dd44b673aa5aea845ebfd7c453cd9fe508
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.
src/m/iris4d.h
src/s/irix4-0.h