From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 23800 invoked from network); 13 Dec 2000 14:14:46 -0000 Received: from unknown (HELO sunsite.auc.dk) (130.225.51.30) by ns1.primenet.com.au with SMTP; 13 Dec 2000 14:14:46 -0000 Received: (qmail 14443 invoked by alias); 13 Dec 2000 14:14:34 -0000 Mailing-List: contact zsh-workers-help@sunsite.auc.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 13255 Received: (qmail 14436 invoked from network); 13 Dec 2000 14:14:33 -0000 Date: Wed, 13 Dec 2000 16:14:30 +0200 From: "Nadav Har'El" To: zsh-workers@sunsite.auc.dk Subject: Bug in zsh 3.0.8 Message-ID: <20001213161430.A18626@leeor.math.technion.ac.il> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2i Hebrew-Date: 16 Kislev 5761 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@math.technion.ac.il |----------------------------------------- Phone: +972-53-245868, ICQ 13349191 |If Windows is the answer, you didn't http://nadav.harel.org.il |understand the question.