From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 13287 invoked by alias); 1 Oct 2015 20:32:20 -0000 Mailing-List: contact zsh-workers-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Workers List List-Post: List-Help: X-Seq: 36740 Received: (qmail 5031 invoked from network); 1 Oct 2015 20:32:18 -0000 X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM, T_DKIM_INVALID autolearn=ham autolearn_force=no version=3.4.0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=date:from:to:subject:message-id:mail-followup-to:references :mime-version:content-type:content-disposition:in-reply-to :user-agent; bh=1XoVPAkSWuUS72fYyo0TWP1DX8WpC9f2OdEdB4d+rlw=; b=SDCZ3hKjMvczWe3z0Yujb7TL14KTnS8SjKaj5XJngaapjan3w/md6kl/SYc6e4R0sj ASe6tgAyLZxl3BbmMvrmICF5sqtxBIKQ2q9XmaCWPS3oQDU64Z01sDslT0si53ilTxAc hz2LaP8Dz/ggnaD3l2yFssKI2cZo1SG2Rytw7dghTsOx4YLz1ID8Wf3UJUc9fCBOFubX yQv4nZ9khT+XpK70zUl3vQ9uR8ZTS/OLVyonspOZi2aiaQyG4iWqtxMMlW1ZnC+wra4j YGl00v4p5dyY4U2Zs0YW6CnScs527P6eDLuw2VHxOLzElbYC6p6QecjSrgACle1Tfbb+ xs3A== X-Received: by 10.25.210.206 with SMTP id j197mr2586734lfg.86.1443731534997; Thu, 01 Oct 2015 13:32:14 -0700 (PDT) Date: Thu, 1 Oct 2015 22:32:09 +0200 From: Joshua Krusell To: zsh-workers@zsh.org Subject: Re: err_exit/err_return regression Message-ID: <20151001203209.GA38889@Qliphoth.local> Mail-Followup-To: zsh-workers@zsh.org References: <20150709143823.184fb4e1@pwslap01u.europe.root.pri> <20150929154327.GA11991@Qliphoth.local> <20150929195432.7b0e3525@ntlworld.com> <20150929205204.GA29608@Qliphoth.local> <150929180932.ZM9288@torch.brasslantern.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <150929180932.ZM9288@torch.brasslantern.com> User-Agent: Mutt/1.5.24 (2015-08-30) On 29/09/15 at 06:09P, Bart Schaefer wrote: > I think what this boils down to is, "retflag" needs two values to > distinguish an actual return from an ERR_RETURN, the same way that > we distinguish interrupts from actual errors. Patch below seems to > work for the "if" case, there may be other such cases. Might want > to use bitflags and/or #defines instead of just 1 and 2. With this patch it's still failing for me, but only when running the snippet I posted as a script. Seems to magically work with the sourced 'cut-and-paste' version. /jsks