🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

2 total messages Started by Matt Larson Wed, 19 Aug 1992 01:06
BASH 1.12 under HP-UX 8.00 on an HP9000/345 -- problems
#902
Author: Matt Larson
Date: Wed, 19 Aug 1992 01:06
25 lines
1200 bytes
I successfully compiled BASH 1.12 under HP-UX 8.00 on an HP9000/345
without incident, but the resulting shell exhibits some strange
behavior when expanding wildcards.  For example:

larson% ls
alias-conv.sh*   scripts/         suncmd.termcap
functions/       startup-files/   whatis
larson% echo *
alias-conv.sh
larson% echo s*
scripts

As you can see, the wildcard expansion only picks up the first item.

Has anyone else compiled BASH under a similar environment?  Is there
something simple that I'm missing?  Any help would be greatly
appreciated -- I'd like to avoid digging around if someone has already
solved this one.

Thanks.
--
--
Matt Larson
Corporate Network Services, Hewlett-Packard Company
matt@hp.com   (415) 424-3610
Re: BASH 1.12 under HP-UX 8.00 on an HP9000/345 -- problems
#903
Author: Bart Muyzer
Date: Wed, 19 Aug 1992 10:21
26 lines
1702 bytes
In <MLARSON.92Aug18170645@larson.corp.hp.com> mlarson@corp.hp.com (Matt Larson) writes:

>I successfully compiled BASH 1.12 under HP-UX 8.00 on an HP9000/345
>without incident, but the resulting shell exhibits some strange
>behavior when expanding wildcards.  For example:
[...]
>As you can see, the wildcard expansion only picks up the first item.
[...]
Yeap. When I ran into this problem, I asked this one to Chet Ramey
<chet@po.CWRU.Edu> and Brian Fox <bfox@ai.mit.edu>, both bash-maintainers.

The cause of this problem is alloca(). The alloca() for HP-UX 8.0 is broken,
so you should NOT use the alloca supplied in the library.

The way to do this is to edit machines.h and to undefine HAVE_ALLOCA.
Recompile and all is fine.

Please contact me by e-mail if you still run into trouble.

Greetings,
						>] Bartm [<
-- 
Bart Muyzer, Systems and Network Administrator, [NIC-Whois handle: BJM9]
     3D Computer Vision, Room E02.222, University Hospital Utrecht,
     Heidelberglaan 100, 3584 CX Utrecht, Holland. E-mail: bartm@cv.ruu.nl
     Fax: +31-30-513399. Tel: +31-30-506711 (w), +31-3402-52157 (h). 
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads