From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-3.4 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,FREEMAIL_FROM,HTML_MESSAGE,MAILING_LIST_MULTI, RCVD_IN_DNSWL_MED autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 30015 invoked from network); 26 Nov 2022 03:48:33 -0000 Received: from zero.zsh.org (2a02:898:31:0:48:4558:7a:7368) by inbox.vuxu.org with ESMTPUTF8; 26 Nov 2022 03:48:33 -0000 ARC-Seal: i=1; cv=none; a=rsa-sha256; d=zsh.org; s=rsa-20210803; t=1669434513; b=ZoZl0FtApkRMVcu/g9PROars5WNxwAZ/JPPjyKz9TBlTlhtYuMG7ziIr1Dh1+tMmtgR6OX8/zQ L0PO2jlnpy5bPlPM/eCOD8GtXrYWqSSA1u9mNSCE0WJomMPYSbcsY8pmfN8AzpdDw3s78xTLGc xzFl4yB/HJ1TTf3twxEEel2bAuw5QHFbAO70QYLnnJ3tdx7xBsPKpxDR5HF2YqU30D2wSYqoJz iRM+BPDGof9pguK0mSk6QaR1b0+Jd306vwSyHUi40fjChkoI8GAPDgtaoCyqN8BoqNdI5EMOe4 I4JKHDQquvucUqJlcr5WkwIjX20PUw2OcBHes1CugK5Gkg==; ARC-Authentication-Results: i=1; zsh.org; iprev=pass (mail-ua1-f51.google.com) smtp.remote-ip=209.85.222.51; dkim=pass header.d=gmail.com header.s=20210112 header.a=rsa-sha256; dmarc=pass header.from=gmail.com; arc=none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed; d=zsh.org; s=rsa-20210803; t=1669434513; bh=fval3B3RRPU5ERlomKgTOsPDJmASTk6XyO0G9l55Kxc=; h=List-Archive:List-Owner:List-Post:List-Unsubscribe:List-Subscribe:List-Help: List-Id:Sender:Content-Type:Cc:To:Subject:Message-ID:Date:From:In-Reply-To: References:MIME-Version:DKIM-Signature:DKIM-Signature; b=cON5Jqyr8IEgDiyFb4YndljcMpW+lZhJHJ/E5IYHd8LDBjkR6fxeoEI8h7hJzFLsAXtXIZjYiJ i9yg8e/hrq4Pw9Bi5Sgidy48oBVmO4JJByNn98KYkHo6mMsrya7qIYKiPucxoqB0J/V++SalYj YLU3/5jcEmG9kIjI9rmRFmF9fzhJpZiPjFwOqpbR4z2zg6JNOd8wxGewFP7dornTSmCCVI+W68 JdwgjyonPbNErY14IEOXUdJNeFuryB+kR2yWgbLbGFlxHzuoogFisF2ARwE4KoxQXNfGvb9xg6 CGm7WlPbTK55XthcxuPMu2En6YegCJFnRgVKemYeM+NlTg==; DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=zsh.org; s=rsa-20210803; h=List-Archive:List-Owner:List-Post:List-Unsubscribe: List-Subscribe:List-Help:List-Id:Sender:Content-Type:Cc:To:Subject:Message-ID :Date:From:In-Reply-To:References:MIME-Version:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID; bh=fval3B3RRPU5ERlomKgTOsPDJmASTk6XyO0G9l55Kxc=; b=XxCCiH/sTwTHKbPkOyV+P7j50V bobFwPfjxUXF0vTftNyKto2+f0kCOT67/L5pyiQQW59+8aq+kpgpaj5+Af4fZVtlGkIwhe09nVaZ7 7yJCQ7tLZNTSkxCfFzy/9wD4s78D0EzRw0BW3Cj6FwInsk0pKFAoDlDszr/DTTSDFPSAPRoc2DpYF 4oc1SGmE/GBqcboLtUH3UlJEFCdqNt7mJKFXvMNa4Wl26udPkcUQdK8lYOh6Z44BMGcmSXWGdGmH1 4fQsIpYTBoDOzpeKXL3WzruTxzbJRw7l3dOmx/wsv0yVFJfwPfe0sw1rZ1rD/oxhn1yulR1p9LmQ0 1u7iLKpA==; Received: by zero.zsh.org with local id 1oymB6-000Pgw-OO; Sat, 26 Nov 2022 03:48:32 +0000 Authentication-Results: zsh.org; iprev=pass (mail-ua1-f51.google.com) smtp.remote-ip=209.85.222.51; dkim=pass header.d=gmail.com header.s=20210112 header.a=rsa-sha256; dmarc=pass header.from=gmail.com; arc=none Received: from mail-ua1-f51.google.com ([209.85.222.51]:42910) by zero.zsh.org with esmtps (TLS1.3:TLS_AES_128_GCM_SHA256:128) id 1oym9z-000PL3-Bv; Sat, 26 Nov 2022 03:47:23 +0000 Received: by mail-ua1-f51.google.com with SMTP id q6so2104508uao.9; Fri, 25 Nov 2022 19:47:23 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=fval3B3RRPU5ERlomKgTOsPDJmASTk6XyO0G9l55Kxc=; b=ClkGzNxQMvzcsIAbd87ULClz6BoBbqn3vprv0rx4zzu3DP3Wd28Pwzt2ZoFuM7xoQM vcHlQXFYaAGxuLHubHZUl2SG+R1qpByHyEB6ZnCJ6UYfiDYDuT3ryRvn9yJomGyMM2A6 MfAxxdREHHbR17Uinrl9cN4AwFIoUqxw01K1O5qtmRFpe0ILRNIpXZZRL2ZRXARocREj f+7L/NRVDDd4CM9On0DqqGDLYaGCIOGhFmgd6sSMSs3zOxg34KdniXxgi8dbIGppNUsf ZG6uL17kzQteSFj4ern1XdZINA+o16Lx8Bb5Zw+5pWzH8ciMeKBLi+vFwm+PUYZ41hsT 0rDA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=fval3B3RRPU5ERlomKgTOsPDJmASTk6XyO0G9l55Kxc=; b=p+5Agxzgte8XIXfRyWORCRawlRu3q6jb8BLTxZHqdY5M7PDfF30/n4m40MUBtMFGWR As7Cv3wCvkSJdrMchXjmKgaJo/Ed4VL4Utxk2DJrQT5X0GHJYJlEMBrL/P0PJh85sfxd Z3CcsvdwBEOSSt36pP4tMHMAze2XxUchAf4cCevrnFPLma0s8au/gDBY1N1X9IOPX5+4 t6F0wikQ9f+u6Mgy24dfP+BARH38rMHl/VgVSXdC/S79hhcUaG1vYxRg9/2cF3OXIAMN JAKz6pm+wyB4Se4MVACouB63ATLk3iq4qiLmoyLY8uGsEB4STr72VMN2Za50+POdyxkz Do9g== X-Gm-Message-State: ANoB5pmte/0jFPBW8083k3nzVovqKZNzV3XPM7UMw6XXjwTTu0sly+Po 8zRnnxA6RgMyM9uxQbn4nku9K5AgDDq9F091whjjd5v6u2w= X-Google-Smtp-Source: AA0mqf7uqd9vtmPMW0TBBc1TQ9cUxMwh98F/emYOAvb6f7umhoQ2owaL8v9/clskBuLPpn39In5Ej7LYUxwSQeWKwig= X-Received: by 2002:ab0:3804:0:b0:418:fe3b:4f7c with SMTP id x4-20020ab03804000000b00418fe3b4f7cmr6434991uav.23.1669434442350; Fri, 25 Nov 2022 19:47:22 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: From: Philippe Altherr Date: Sat, 26 Nov 2022 04:47:11 +0100 Message-ID: Subject: Re: [Patch] Fix ERR_RETURN behavior in and/or statements To: Bart Schaefer Cc: Zsh hackers list , =?UTF-8?Q?Lawrence_Vel=C3=A1zquez?= Content-Type: multipart/alternative; boundary="000000000000e9862605ee577ecf" X-Seq: 51077 Archived-At: X-Loop: zsh-workers@zsh.org Errors-To: zsh-workers-owner@zsh.org Precedence: list Precedence: bulk Sender: zsh-workers-request@zsh.org X-no-archive: yes List-Id: List-Help: , List-Subscribe: , List-Unsubscribe: , List-Post: List-Owner: List-Archive: --000000000000e9862605ee577ecf Content-Type: text/plain; charset="UTF-8" > > I'll take a look at all of this in a couple of days. > Sounds good I just sent a 6th patch. With that, all the errexit issues I'm aware of are fixed. I still have on my todo list to write a NEWS item that documents the changes/fixes. So there will be a 7th patch but that one will only touch the NEWS file. There is one last thing that I don't understand in the errexit code, namely the NOERREXIT_UNTIL_EXEC bit used in execif. I will spend some time studying it in the next few days. Hopefully, I don't discover new issues :-) Philippe --000000000000e9862605ee577ecf Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
I'll take a look at all of this in a couple of days.=

Sounds good

I= just sent a 6th patch. With that, all the errexit issues I'm aware of = are fixed.

I still have on my todo list to write a= NEWS item that documents the changes/fixes. So there will be a 7th patch b= ut that one will only touch the NEWS file.

There i= s one last thing that I don't understand in the errexit code, namely th= e=C2=A0NOERREXIT_UNTIL_EXEC bit used in execif. I will spend some time stud= ying it in the next few days. Hopefully, I don't discover new issues=C2= =A0:-)

Philippe

--000000000000e9862605ee577ecf--