From: Peter Stephenson <p.w.stephenson@ntlworld.com>
To: zsh-workers@zsh.org
Subject: Re: "set -e" handling is broken with zsh 5.3.1 and 5.4.1
Date: Mon, 28 Aug 2017 21:56:32 +0100 [thread overview]
Message-ID: <20170828215632.0ae441e5@ntlworld.com> (raw)
In-Reply-To: <CAH+w=7aEOC1sT94Lzko7xy-fSFy0R_RL09bXPWn79gVF+yN0UA@mail.gmail.com>
On Sun, 27 Aug 2017 23:45:20 -0700
Bart Schaefer <schaefer@brasslantern.com> wrote:
> Background is in workers/34055 and 34059, and this looks to have
> something to do with noerrexit not propagating into the first sublist
> in a function body. It's entirely possible that the change from
> having a few numeric values for the flags to have a set of bit values
> has made that test unnecessary, or it may be needed in case that
> hasn't been tested yet -- the original report in 34055 involves
> calling a function within an if/else block.
I committed the chnage. The regression tests in C03ttraps.ztst are
still passing, and I couldn't see any simple code involving functions
that caused a failure. If someone finds one we will need to add it to
the tests.
pws
prev parent reply other threads:[~2017-08-28 20:58 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-08-27 0:50 Vincent Lefevre
2017-08-27 1:30 ` Daniel Shahaf
2017-08-27 1:46 ` Vincent Lefevre
2017-08-27 18:56 ` Peter Stephenson
2017-08-27 22:26 ` Vincent Lefevre
2017-08-28 1:25 ` Daniel Shahaf
2017-08-28 6:45 ` Bart Schaefer
2017-08-28 20:56 ` Peter Stephenson [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20170828215632.0ae441e5@ntlworld.com \
--to=p.w.stephenson@ntlworld.com \
--cc=zsh-workers@zsh.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/zsh/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).