🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.bash.bug
Article #624

Bash 1.03 is broken under System VR3...

#624
From: Greg Onufer
Date: Thu, 21 Sep 1989 05:45
27 lines
1127 bytes
Bash 1.03 running under Interactive 386IX does funny things when
source'ing files.  If the file contains any external commands,
after the file is sourced (and all commands executed), bash goes
into a loop reporting wait errors.  This loop is the while loop
in wait_for...  (nojobs.c).  I changed the if statement to contain
a break after printing the error as a temporary fix.  Any ideas?

Sample file to source:

echo "Begin"
touch /tmp/foo
/bin/rm -f /tmp/foo
echo "End"

Sample Bash Session:

myprompt% . foo
Begin
End
wait: No child processes
wait: No child processes
wait: No child processes
wait: No child processes
wait: No child processes
.....  Forever .....

Please reply to cheers!greg@apple.com or to this newsgroup.
Technical Details
Message-ID: <173@kesa.UUCP>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!wuarchive!gem.mps.ohio-state.edu!uwm.edu!uakari.primate.wisc.edu!ames!vsi1!daver!kesa!greg

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!wuarchive!gem.mps.ohio-state.edu!uwm.edu!uakari.primate.wisc.edu!ames!vsi1!daver!kesa!greg
From: greg@kesa.UUCP (Greg Onufer)
Newsgroups: gnu.bash.bug
Subject: Bash 1.03 is broken under System VR3...
Message-ID: <173@kesa.UUCP>
Date: 21 Sep 89 05:45:54 GMT
Organization: Kesa Corporation, Santa Clara
Lines: 27