[gnu.bash.bug] 386/ix problems with Bash 1.04

pauld@UUNET.UU.NET (Paul Davis) (01/04/90)

Bash version: 1.04
Hardware: NCR 80386
Operating System: 386/ix
Compiler: (presumably a pcc derivative)
Bug: coding problems
Exercising: try compiling on the above described system.

Description(s)
--------------

(1) illegal lvalue in `nojobs.c'

"nonjobs.c" 168:	status.w_termsig  = status.w_retcode   = 0

This is expanded to 
	
			status.bytes.low & 0x7f = status.bytes.high = 0;

after passing through cpp(1). The result is an illegal lvalue. My own
short term solution has been to expand w_termsig by hand, and omit the
mask.

(2) glob.c headers

This file does not include config.h, and even if it did, there is
no description of the switches necessary for System V. glob.c uses
USGr3 instead of SYSV, and there is no mention of DIRENT elsewhere
in the code. I added `#define DIRENT' to my config.h, and added
`#include "config.h"' in glob.c.


General comments
----------------

It is very confusing to list SYSV and UNIXPC as possible OS targets.
Most Unix-for-***86 makers claim SYSV compatibility, and it would be
better to list each independently, or just say exactly which one is
meant by `UNIXPC' (e.g. SCOUNIX, or ICS).

Super General comments
-----------------------
Bash is great ! Do you want any help on writing the manual ? Count
yourself lucky to be working on a nice fat BSD box :-) (I used to, and
then the weather changed).

Paul Davis				<pauld%scenic@uunet.uu.net>
ScenicSoft, Inc.			"Industry without art is brutality"
206-776-7760