Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: Segfault in zsh 4.2.5 in assignment to array variable tied to unset scalar.



I verified this on ubuntu linux and also OS X v. 10.4, 4.2.5 gives a seg
fault; 4.2.3 reports a bus error.

But why would you want to do this?

On Fri, 19 Aug 2005, John Reese wrote:

> Howdy.
>
> ofb:3% zsh --version                                                14:40 ofb:~
> zsh 4.2.5 (i686-pc-linux-gnu)
> ofb:3% STRING=a:b                                                   14:40 ofb:~
> ofb:3% typeset -T STRING string                                     14:40 ofb:~
> ofb:3% unset STRING                                                 14:40 ofb:~
> ofb:3% set -A string x y z                                          14:40 ofb:~
> zsh: 18569 segmentation fault  zsh
>
> I'm told this also happens in 4.2.1.
>



Messages sorted by: Reverse Date, Date, Thread, Author