Bash 1.04 and 386/ix

12 views
Skip to first unread message

Chris Wiener

unread,
Nov 6, 1989, 8:39:34 PM11/6/89
to

The following changes were needed to get BASH 1.04 to compile under 386/ix
verion 2.0.2 (i386/SYSV 5.3). This version was quite easy to get running
unlike previous ones which had serious problems with the lack of job
control.

Thanks to Brian for merging in all of the previously-posted 386/SYSV patches.

Chris


Changes to BASH 1.04 to allow compilation under 386.ix 2.0.2
-------------------------------------------------------------

1) In addition to the flags listed in the Makefile, be sure to add the
following to the CFLAGS= line:

-DUSGr3

2) Apply the following diff to nojobs.c.

*** nojobs.c~ Mon Nov 6 20:10:33 1989
--- nojobs.c Mon Nov 6 20:22:03 1989
***************
*** 165,171
{
if (got_pid < 0 && errno == ECHILD)
{
! status.w_termsig = status.w_retcode = 0;
break;
}
else if (got_pid < 0 && errno != EINTR)

--- 165,171 -----
{
if (got_pid < 0 && errno == ECHILD)
{
! status.bytes.low = status.w_retcode = 0;
break;
}
else if (got_pid < 0 && errno != EINTR)


--
Christopher Wiener N2CR CR Labs, Fort Lee, NJ
DOMAIN: cwi...@CRLABS.COM UCCP: ..!attctc!crlabs!cwiener

Reply all
Reply to author
Forward
0 new messages