Re: bash stuck in a loop defining arrays

2009-02-27 Thread Pierre Gaston
On Thu, Feb 26, 2009 at 9:51 PM, Chet Ramey wrote: > Pierre Gaston wrote: >> sorry if this mail arrives twice, but the first mail didn't seem to >> made it through. >> >> Configuration Information [Automatically generated, do not change]: >> Machine: i386 >> OS: openbsd4.4 >> Compiler: gcc >> Comp

Re: bash stuck in a loop defining arrays

2009-02-26 Thread Chet Ramey
Pierre Gaston wrote: > sorry if this mail arrives twice, but the first mail didn't seem to > made it through. > > Configuration Information [Automatically generated, do not change]: > Machine: i386 > OS: openbsd4.4 > Compiler: gcc > Compilation CFLAGS: -DPROGRAM='bash' -DCONF_HOSTTYPE='i386' > -D

Re: bash stuck in a loop defining arrays

2009-02-25 Thread Chet Ramey
> Thanks, unfortunately it seems that this patch isn't enough as it > also happens with a simpler test case: > > bash-4.0$ declare -A array > bash-4.0$ declare array[foo]=bar That's actually a different problem, a fix for which I was thinking about before receiving your message. :-) Chet -- `

Re: bash stuck in a loop defining arrays

2009-02-25 Thread Pierre Gaston
On Wed, Feb 25, 2009 at 4:46 PM, Chet Ramey wrote: >> Machine Type: i386-unknown-openbsd4.4 >> >> Bash Version: 4.0 >> Patch Level: 0 >> >> Description: >>         playing with the associative arrays, bash ends up in what appears >> to be a busy loop that I cannot interupt with C-c >> >> Repeat-By

Re: bash stuck in a loop defining arrays

2009-02-25 Thread Chet Ramey
> Machine Type: i386-unknown-openbsd4.4 > > Bash Version: 4.0 > Patch Level: 0 > > Description: > playing with the associative arrays, bash ends up in what appears > to be a busy loop that I cannot interupt with C-c > > Repeat-By: > > > bash-4.0$ declare -A array > bash-4.0$ declare ar

bash stuck in a loop defining arrays

2009-02-24 Thread Pierre Gaston
sorry if this mail arrives twice, but the first mail didn't seem to made it through. Configuration Information [Automatically generated, do not change]: Machine: i386 OS: openbsd4.4 Compiler: gcc Compilation CFLAGS: -DPROGRAM='bash' -DCONF_HOSTTYPE='i386' -DCONF_OSTYPE='openbsd4.4' -DCONF_MACHTYP