bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] devel: fix segfault by unset 'assoc[${x[0]}]'


From: Koichi Murase
Subject: Re: [PATCH] devel: fix segfault by unset 'assoc[${x[0]}]'
Date: Tue, 5 Oct 2021 20:18:37 +0900

>   In Bash 4.0--5.3, the unset command causes the following error:
>
>     bash-4.0: [${x[0]}]: bad array subscript

Sorry, please ignore these two lines. This part is unrelated to the
fix of the patches. The above error message was produced for the empty
associative array key, which is the expected behavior. I just forgot
to remove these lines from the email draft before sending the mail.

--
Koichi



reply via email to

[Prev in Thread] Current Thread [Next in Thread]