From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 22855 invoked from network); 23 Aug 2001 16:26:38 -0000 Received: from sunsite.dk (130.225.51.30) by ns1.primenet.com.au with SMTP; 23 Aug 2001 16:26:38 -0000 Received: (qmail 8122 invoked by alias); 23 Aug 2001 16:26:32 -0000 Mailing-List: contact zsh-workers-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 15693 Received: (qmail 8108 invoked from network); 23 Aug 2001 16:26:30 -0000 From: Bart Schaefer Message-Id: <1010823162607.ZM25653@candle.brasslantern.com> Date: Thu, 23 Aug 2001 16:26:06 +0000 In-Reply-To: <3B84D286.B14D2642@yahoo.co.uk> Comments: In reply to Oliver Kiddle "seg fault with compstate param" (Aug 23, 10:53am) References: <3B84D286.B14D2642@yahoo.co.uk> X-Mailer: Z-Mail (5.0.0 30July97) To: zsh-workers@sunsite.dk Subject: Re: seg fault with compstate param MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii On Aug 23, 10:53am, Oliver Kiddle wrote: } } In either 4.0.2 or recentish 4.1 putting the command `typeset compstate' } in a completion function causes it to seg fault. Of course it shouldn't do that, but: } I was hoping to use it for debug information. What you did was declare a local variable named compstate that was not an associative array. The completion system blew up trying to use it as one. Use `typeset + compstate' instead. -- Bart Schaefer Brass Lantern Enterprises http://www.well.com/user/barts http://www.brasslantern.com Zsh: http://www.zsh.org | PHPerl Project: http://phperl.sourceforge.net