Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Bug in zsh 3.0.8
- X-seq: zsh-workers 13255
- From: "Nadav Har'El" <nyh@xxxxxxxxxxxxxxxxxxx>
- To: zsh-workers@xxxxxxxxxxxxxx
- Subject: Bug in zsh 3.0.8
- Date: Wed, 13 Dec 2000 16:14:30 +0200
- Hebrew-date: 16 Kislev 5761
- Mailing-list: contact zsh-workers-help@xxxxxxxxxxxxxx; run by ezmlm
I found the following bug in zsh 3.0.8 (I don't know if it exists in the
latest beta version, since i don't have it):
/home/nyh$ cat /tmp/z.z
echo $ZSH_VERSION
let 'a[3]=2'
let 'a[3]=2'
/home/nyh$ zsh /tmp/z.z
3.0.8
zsh: segmentation fault zsh /tmp/z.z
I don't know what's wrong: had an array already been defined, stuff like
let 'a[3]++' works. So why can't let 'a[3]=2' work? Strangely, the first
let command doesn't crash (but it doesn't set a[3]!), and only the second
one crashes zsh.
Thanks,
Nadav.
--
Nadav Har'El | Wednesday, Dec 13 2000, 16 Kislev 5761
nyh@xxxxxxxxxxxxxxxxxxx |-----------------------------------------
Phone: +972-53-245868, ICQ 13349191 |If Windows is the answer, you didn't
http://nadav.harel.org.il |understand the question.
Messages sorted by:
Reverse Date,
Date,
Thread,
Author