Re: declare -ag with assignment bug

2012-04-26 Thread Chet Ramey
On 4/26/12 4:50 PM, Joseph Graham wrote: > Bash Version: 4.2 > Patch Level: 24 > Release Status: release > > Description: > Arrays defined in a function with declare -ag are not > available outside the function if an assignment is done with the > declaration, though it works if the assignment is

declare -ag with assignment bug

2012-04-26 Thread Joseph Graham
Configuration Information [Automatically generated, do not change]: Machine: mips64el OS: linux-gnu Compiler: mips64el-unknown-linux-gnu-gcc Compilation CFLAGS: -DPROGRAM='bash' -DCONF_HOSTTYPE='mips64el' -DCONF_OSTYPE='linux-gnu' -DCONF_MACHTYPE='mips64el-unknown-linux-gnu' -DCONF_VENDOR='unkno