Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Help me track down a tough bug? (probably funcfiletrace, subshells and possibly I/O redirection)
- X-seq: zsh-workers 25795
- From: "Rocky Bernstein" <rocky.bernstein@xxxxxxxxx>
- To: "Peter Stephenson" <pws@xxxxxxx>
- Subject: Re: Help me track down a tough bug? (probably funcfiletrace, subshells and possibly I/O redirection)
- Date: Wed, 1 Oct 2008 11:45:23 -0400
- Cc: "Zsh hackers list" <zsh-workers@xxxxxxxxxx>
- 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=XrliUu/dwfRVsVkzr49uPBwEa+QmOJZ4/bCAPbrr5xI=; b=GllKNSzfpIJfWF9cXsr6XRHDunLzUNCRYDhkx/B+kpxfjQLUoDfPswhFVSpoCgDc4D kuh5f6BziK2l2KH+xXKQmv314NC2lVUk/cfSY1/woSP6Cu+eTghzKr3jLFZEsGLV8DEl BLqI7QjX5IUIsXYKL+hn/Py/UopJl65hS84Uc=
- 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=w+Rql+LJ1fX15tcCRRvyFRVlPQDbahu8RTjWiU9s60ocByzk3Zs96k84rvkTYdRww1 QrlotlnXwx9GO/EdSdKcXzXGaWCvvfAOucGr3Fj4Os+0jIsBAoNFGSK+DPwv4yMi/YvQ YB5YkOOgXu8qfYWC2u8J/2OxBVWOvaqINSVlE=
- In-reply-to: <20081001123107.1113468f@news01>
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
- References: <6cd6de210809281219i4bf1ed18mefa45b967fa835a6@xxxxxxxxxxxxxx> <6cd6de210809290411m60cb669bk3817d768adce378a@xxxxxxxxxxxxxx> <200809291125.m8TBPsQM005256@xxxxxxxxxxxxxx> <6cd6de210809290711j12363e1bo159e1739bae7b2fd@xxxxxxxxxxxxxx> <200809291425.m8TEPSoR007204@xxxxxxxxxxxxxx> <20080929224209.1bd8f3f6@pws-pc> <6cd6de210809291718n2fa49590q42eaec499d106284@xxxxxxxxxxxxxx> <20080930175300.2e93fabf@news01> <6cd6de210809301059o64216c18wfb69491c5ff7b049@xxxxxxxxxxxxxx> <20081001123107.1113468f@news01>
On Wed, Oct 1, 2008 at 7:31 AM, Peter Stephenson <pws@xxxxxxx> wrote:
> On Tue, 30 Sep 2008 13:59:43 -0400
> "Rocky Bernstein" <rocky.bernstein@xxxxxxxxx> wrote:
>> My mistake. You are correct. This bug was introduced in paring down
>> the program and removing an initial truncate output (leaving the
>> subsequent append outputs). And I now see the answer to why output was
>> disappearing in the subshell which was my initial concern.
>
> OK, so it seems there's currently nothing for me to look at here.
Yep. Thanks for the help though.
>
>> Any thoughts on marking subshell level inside one of the stack traces
>> or having return inside trap DEBUG with a negative number cause an
>> immediate return?
>
> You can already force a return from the enclosing function from trap '...'
> DEBUG just by executing "return". ...
Ok. I've just committed a gdb-style "return" statement then.
Thoughts about being able to see subshell nexting inside the various
traces? (The level number really isn't needed, just a bit to indicate
whether a new subshell was entered.)
Thanks.
Messages sorted by:
Reverse Date,
Date,
Thread,
Author