🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.bash.bug
Article #1101

386/ix problems with Bash 1.04

#1101
From: Paul Davis
Date: Thu, 04 Jan 1990 00:17
49 lines
1915 bytes
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
Technical Details
Message-ID: <9001040017.AA01250@scenic.UUCP>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!tut.cis.ohio-state.edu!UUNET.UU.NET!nwnexus!scenic!pauld

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!tut.cis.ohio-state.edu!UUNET.UU.NET!nwnexus!scenic!pauld
From: nwnexus!scenic!pauld@UUNET.UU.NET (Paul Davis)
Newsgroups: gnu.bash.bug
Subject: 386/ix problems with Bash 1.04
Message-ID: <9001040017.AA01250@scenic.UUCP>
Date: 4 Jan 90 00:17:56 GMT
Sender: daemon@tut.cis.ohio-state.edu
Distribution: gnu
Organization: GNUs Not Usenet
Lines: 49