From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 12730 invoked by alias); 28 Aug 2017 20:58:26 -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: 41615 Received: (qmail 19672 invoked by uid 1010); 28 Aug 2017 20:58:26 -0000 X-Qmail-Scanner-Diagnostics: from know-smtprelay-omc-10.server.virginmedia.net by f.primenet.com.au (envelope-from , uid 7791) with qmail-scanner-2.11 (clamdscan: 0.99.2/21882. spamassassin: 3.4.1. Clear:RC:0(80.0.253.74):SA:0(-4.7/5.0):. Processed in 1.514378 secs); 28 Aug 2017 20:58:26 -0000 X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-4.7 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2,SPF_PASS,T_DKIM_INVALID,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.1 X-Envelope-From: p.w.stephenson@ntlworld.com X-Qmail-Scanner-Mime-Attachments: | X-Qmail-Scanner-Zip-Files: | X-Originating-IP: [86.21.219.59] X-Authenticated-User: p.w.stephenson@ntlworld.com X-Spam: 0 X-Authority: v=2.1 cv=SeoKDalu c=1 sm=1 tr=0 a=utowdAHh8RITBM/6U1BPxA==:117 a=utowdAHh8RITBM/6U1BPxA==:17 a=L9H7d07YOLsA:10 a=9cW_t1CCXrUA:10 a=s5jvgZ67dGcA:10 a=kj9zAlcOel0A:10 a=x7bEGLp0ZPQA:10 a=q2GGsy2AAAAA:8 a=vbmzNDJ1OPE2yzpl8IQA:9 a=CjuIK1q_8ugA:10 a=z9dJwno5l634igLiVhy-:22 Date: Mon, 28 Aug 2017 21:56:32 +0100 From: Peter Stephenson To: zsh-workers@zsh.org Subject: Re: "set -e" handling is broken with zsh 5.3.1 and 5.4.1 Message-ID: <20170828215632.0ae441e5@ntlworld.com> In-Reply-To: References: <20170827005040.GA12622@zira.vinc17.org> <20170827195648.6f078249@ntlworld.com> <20170827222618.GA3398@zira.vinc17.org> <1503883531.3929330.1086829200.165C21BC@webmail.messagingengine.com> X-Mailer: Claws Mail 3.11.1 (GTK+ 2.24.28; x86_64-redhat-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ntlworld.com; s=meg.feb2017; t=1503953792; bh=2NTL3VF4J3pRxqWDzD2F6Dr1lgaAHth2E/NWNkncwAo=; h=Date:From:To:Subject:In-Reply-To:References; b=maLgdOg5eHLRfUdBI9QDrbZDxuX3Im3Z+Svsi0F9c63xUO4HOJdmvWZKSZhIQuP2q 80/BWV8VXbhYw9PXdBQYvpdjFq/hUlDCHCWLry1y89kigHOgcwmv5w2vdNoQErnkpb +zJCH9zGtV19mDSq5nWJHk0AA6BYZmOpjF4b4isCHucugCLsVc8C9NkeURaoKAqxMR wVoi+VX1+G42cfNfDQTwl2s3lMx2JKblgSKZtVrRexDpt6T7Lai5k98TtlLU2Q5dlz TFojMn6UJ8Au8uGjjm1Ic3gwZixPOUwBcS6+SmLpXGdI6JA/ilJLxM87iZ/S9UPHnR 5LXcsKoC6lIRA== On Sun, 27 Aug 2017 23:45:20 -0700 Bart Schaefer 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