Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: another bug: zsh_directory_name
- X-seq: zsh-workers 25979
- From: "Mikael Magnusson" <mikachu@xxxxxxxxx>
- To: "Peter Stephenson" <p.w.stephenson@xxxxxxxxxxxx>
- Subject: Re: another bug: zsh_directory_name
- Date: Fri, 31 Oct 2008 01:14:54 +0100
- Cc: "Zsh workers" <zsh-workers@xxxxxxxxxx>, pws@xxxxxxxxxxxxxxxxxxx
- 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=
- In-reply-to: <200810302213.m9UMD2Mi012011@xxxxxxxxxxxxxxxxxxx>
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
- References: <mikachu@xxxxxxxxx> <237967ef0810301426l1d2b0698xd58eea08a01eb4b0@xxxxxxxxxxxxxx> <200810302213.m9UMD2Mi012011@xxxxxxxxxxxxxxxxxxx>
2008/10/30 Peter Stephenson <p.w.stephenson@xxxxxxxxxxxx>:
> "Mikael Magnusson" wrote:
>> 2008/10/30 Oliver Kiddle <okiddle@xxxxxxxxxxx>:
>> > 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
Messages sorted by:
Reverse Date,
Date,
Thread,
Author