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