Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Regression / err_return / arithmetic 5.4.x ?
- X-seq: zsh-workers 41723
- From: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>
- To: zsh-workers@xxxxxxx
- Subject: Re: Regression / err_return / arithmetic 5.4.x ?
- Date: Sun, 17 Sep 2017 17:50:28 -0700
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=brasslantern-com.20150623.gappssmtp.com; s=20150623; h=from:message-id:date:in-reply-to:comments:references:to:subject :mime-version; bh=X+If9sb3IGGxSb8dv0Szk3plV/U1QccJGmk0NkHpfLA=; b=j0+vWoZVfLh7CDPVVwFqcOjGebDpduydxDVs91JcKCVpMuXFuBehHP9ZfByRJNsmP7 fjSf1CYtidojl0uHJWr9SrUlUbPXpIw9YaQwcwnnk42oabifjxeW4KcUkJmxEf/e5M1U pC4WgNiIBzCWwezh7eKUoofdO03SbrMDFtCs0qTmwEqYpwmTqHk8SStG1vDJIsADIDiU GCROvaTI3QJdSVUyV4LANfv1kiUxMYDWx76xYicle4ozlg7iVKlgXngFbRIwS4TzGr6u +jLxbeWoopQ23N8VS7z1qic8RG7GxsGWng1V3En1VN+C79nxaO/ScYhKyJBf0fOwQ/CR Bvyg==
- In-reply-to: <170915193839.ZM29425@torch.brasslantern.com>
- List-help: <mailto:zsh-workers-help@zsh.org>
- List-id: Zsh Workers List <zsh-workers.zsh.org>
- List-post: <mailto:zsh-workers@zsh.org>
- Mailing-list: contact zsh-workers-help@xxxxxxx; run by ezmlm
- References: <20170915211342.GA6027@tower.spodhuis.org> <170915145553.ZM27831@torch.brasslantern.com> <170915193839.ZM29425@torch.brasslantern.com>
On Sep 15, 7:38pm, Bart Schaefer wrote:
}
} I reverted 97d4bdb and the problem disappears. Haven't gotten any
} further than that, yet.
Looks like just one case where use of the new bitflags was missed:
diff --git a/Src/loop.c b/Src/loop.c
index 40e3bcb..1013aeb 100644
--- a/Src/loop.c
+++ b/Src/loop.c
@@ -428,7 +428,7 @@ execwhile(Estate state, UNUSED(int do_exec))
} else
for (;;) {
state->pc = loop;
- noerrexit = 1;
+ noerrexit = NOERREXIT_EXIT | NOERREXIT_RETURN;
/* In case the test condition is a functional no-op,
* make sure signal handlers recognize ^C to end the loop. */
Messages sorted by:
Reverse Date,
Date,
Thread,
Author