From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 13876 invoked from network); 31 Oct 2008 00:15:09 -0000 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.2.5 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by ns1.primenet.com.au with SMTP; 31 Oct 2008 00:15:09 -0000 Received-SPF: none (ns1.primenet.com.au: domain at sunsite.dk does not designate permitted sender hosts) Received: (qmail 70373 invoked from network); 31 Oct 2008 00:15:06 -0000 Received: from sunsite.dk (130.225.247.90) by a.mx.sunsite.dk with SMTP; 31 Oct 2008 00:15:06 -0000 Received: (qmail 8138 invoked by alias); 31 Oct 2008 00:14:59 -0000 Mailing-List: contact zsh-workers-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 25979 Received: (qmail 8121 invoked from network); 31 Oct 2008 00:14:59 -0000 Received: from bifrost.dotsrc.org (130.225.254.106) by sunsite.dk with SMTP; 31 Oct 2008 00:14:59 -0000 Received: from wa-out-1112.google.com (wa-out-1112.google.com [209.85.146.177]) by bifrost.dotsrc.org (Postfix) with ESMTP id EBD6D80524C0 for ; Fri, 31 Oct 2008 01:14:55 +0100 (CET) Received: by wa-out-1112.google.com with SMTP id m28so508995wag.29 for ; Thu, 30 Oct 2008 17:14:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=DfgTWH8QnFdhRJIGBCXTekzUGlO6WqL9dBH9rXCrkmc=; b=t2rPPwZMcN76AVEJEmMgAvtytetdoY81QsrNcAw4TRt1TUI/2wU25xrT1pqRgG+QoG OHJqhjzLNOao9Z4w+Mtvv4O4C686Ak2Q95eeAOraDrE9WuhcL1wRVQpSZZbFGOIyCtrq q6mYmA/TiSHcVZhww/5w4Y6mu08NM0CIa/DFA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=qAH/t/VVuYbGPlfgei0TqmsYpm/89DeC4c7K6i6uAQBS6umXhzhJAAPVYg+tWlUBiB 9Evixl80U5GRblv+V+mBEMGvBsnfDqKgXziqlH1u6kK3XniHabOm/j3XKDVb5lxYuWu9 AZ+6jlBwabAJ2jcypIU5ZvuVJ3x3RT5T/Jjos= Received: by 10.114.39.5 with SMTP id m5mr9383555wam.113.1225412094153; Thu, 30 Oct 2008 17:14:54 -0700 (PDT) Received: by 10.114.112.17 with HTTP; Thu, 30 Oct 2008 17:14:54 -0700 (PDT) Message-ID: <237967ef0810301714y9c0287fn1d86f2bc038472ba@mail.gmail.com> Date: Fri, 31 Oct 2008 01:14:54 +0100 From: "Mikael Magnusson" To: "Peter Stephenson" Subject: Re: another bug: zsh_directory_name Cc: "Zsh workers" , pws@pws-pc.ntlworld.com In-Reply-To: <200810302213.m9UMD2Mi012011@pws-pc.ntlworld.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <237967ef0810301426l1d2b0698xd58eea08a01eb4b0@mail.gmail.com> <200810302213.m9UMD2Mi012011@pws-pc.ntlworld.com> X-Virus-Scanned: ClamAV 0.92.1/8545/Thu Oct 30 22:39:18 2008 on bifrost X-Virus-Status: Clean 2008/10/30 Peter Stephenson : > "Mikael Magnusson" wrote: >> 2008/10/30 Oliver Kiddle : >> > Just thought I'd check that the case of calling this new ~[...] stuff >> > recursively had been handled. The following caused an instant seg fault: >> > >> > zsh_directory_name() { >> > echo ~[] >> > } >> >> I don't think this has anything to do with ~[], >> % function a() { a } >> % a >> zsh: segmentation fault zsh > > Right. I get: > > pws-pc% function a() { a } > pws-pc% a > a: maximum nested function level reached I get this when compiling with -O0 -ggdb3, and the segfault when compiling with -O3 and no -g. Didn't try other combinations. -- Mikael Magnusson