Howdy,
When I try to build bash 4.0 on HP-UX 10.20, it fails with the
following error:
cc -Ae -L./builtins -L./lib/readline -L./lib/readline -L./lib/glob
-L./lib/tilde -L./lib/malloc -L./lib/sh-g -o bash shell.o eval.o y.tab.o
general.o make_cmd.o print_cmd.o dispose_cmd.o exec
On Fri, Apr 17, 2009 at 05:45:33PM +0800, tianlijian wrote:
> 1. add the "export PS1='[\e[1;34m\W\e[0m]\$ " to /etc/profile or
> ~/.bash_profile .
You need to put \[ and \] (literally) around escape sequences in your
prompt that don't move the cursor. In your case:
PS1='[\[\e[1;34m\]\W\[\e[0m\]]
1. add the "export PS1='[\e[1;34m\W\e[0m]\$ " to /etc/profile or
~/.bash_profile .
The statement mush be putted in the configuration file, can not execute the
bash command line, otherwise the problem will not occur.
2. type the command 'one two three four five six' in the command line.
3. use 'M-7
Version: GNU bash, Version 4.0.17(1)-release (i686-pc-linux-gnu)
(plus newline-shellmeta patch).
A script which uses, among other things, 3 associative arrays and a
coprocess, crashes reproducibly with an allocation error:
malloc: hashlib.c:306: assertion botched
free: called with unallo