[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Bash 4 crash: "f(){ declare -a x;declare -A x;};f"
From: |
Chet Ramey |
Subject: |
Re: Bash 4 crash: "f(){ declare -a x;declare -A x;};f" |
Date: |
Wed, 13 Feb 2019 11:59:39 -0500 |
User-agent: |
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:60.0) Gecko/20100101 Thunderbird/60.5.0 |
On 2/13/19 12:46 AM, Mark wrote:
> Bash Version: 4.4
> Patch Level: 18
> Release Status: release
>
> Description:
> Bash versions 4.0 thru 4.4.18 crash when declaring a variable as an
> indexed array and then as an associative array while inside of a
> function.
Thanks for the report. This is, as you note, fixed in bash-5.0.
--
``The lyf so short, the craft so long to lerne.'' - Chaucer
``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, UTech, CWRU chet@case.edu http://tiswww.cwru.edu/~chet/