From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 8742 invoked from network); 12 Feb 1999 17:37:21 -0000 Received: from sunsite.auc.dk (130.225.51.30) by ns1.primenet.com.au with SMTP; 12 Feb 1999 17:37:21 -0000 Received: (qmail 7097 invoked by alias); 12 Feb 1999 17:36:41 -0000 Mailing-List: contact zsh-workers-help@sunsite.auc.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 5360 Received: (qmail 7081 invoked from network); 12 Feb 1999 17:36:36 -0000 From: "Bart Schaefer" Message-Id: <990212093304.ZM9981@candle.brasslantern.com> Date: Fri, 12 Feb 1999 09:33:04 -0800 In-Reply-To: <9902121545.AA44295@ibmth.df.unipi.it> Comments: In reply to Peter Stephenson "Re: PATCH: zsh-3.1.5-pws-7: "$a[@]" with $a unset" (Feb 12, 4:45pm) References: <9902121545.AA44295@ibmth.df.unipi.it> X-Mailer: Z-Mail (4.0b.820 20aug96) To: Peter Stephenson , zsh-workers@sunsite.auc.dk Subject: Re: PATCH: zsh-3.1.5-pws-7: "$a[@]" with $a unset MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii On Feb 12, 4:45pm, Peter Stephenson wrote: } Subject: Re: PATCH: zsh-3.1.5-pws-7: "$a[@]" with $a unset } } Try it in ksh, and remember you need "${f[@]}" OK, I concur. 3.0.5 is broken in the same way, then. However, with your patch, I get this: zagzig% foo() { echo $# "$@" } zagzig% foo "$unset[@]" zsh: segmentation fault (core dumped) Src/zsh -f -- Bart Schaefer Brass Lantern Enterprises http://www.well.com/user/barts http://www.brasslantern.com