From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-1.0 required=5.0 tests=MAILING_LIST_MULTI, RCVD_IN_DNSWL_NONE autolearn=ham autolearn_force=no version=3.4.2 Received: from primenet.com.au (ns1.primenet.com.au [203.24.36.2]) by inbox.vuxu.org (OpenSMTPD) with ESMTP id d077c149 for ; Fri, 13 Dec 2019 14:27:19 +0000 (UTC) Received: (qmail 8667 invoked by alias); 13 Dec 2019 14:27:14 -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: List-Unsubscribe: X-Seq: 45017 Received: (qmail 4128 invoked by uid 1010); 13 Dec 2019 14:27:14 -0000 X-Qmail-Scanner-Diagnostics: from kahlil.inlv.org by f.primenet.com.au (envelope-from , uid 7791) with qmail-scanner-2.11 (clamdscan: 0.102.1/25656. spamassassin: 3.4.2. Clear:RC:0(37.59.109.123):SA:0(-1.9/5.0):. Processed in 2.211436 secs); 13 Dec 2019 14:27:14 -0000 X-Envelope-From: martijn@inlv.org X-Qmail-Scanner-Mime-Attachments: | X-Qmail-Scanner-Zip-Files: | Received-SPF: none (ns1.primenet.com.au: domain at inlv.org does not designate permitted sender hosts) Subject: Re: Bug with traps and exit To: zsh-workers@zsh.org References: <3859b4bf-08ba-62d5-f00a-3ec4e67caf95@inlv.org> <1576145690.8441.3.camel@samsung.com> From: Martijn Dekker Message-ID: <46f2fc10-2f2c-88f1-e4e2-87196a39a37a@inlv.org> Date: Fri, 13 Dec 2019 15:26:30 +0100 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:60.0) Gecko/20100101 Thunderbird/60.9.1 MIME-Version: 1.0 In-Reply-To: <1576145690.8441.3.camel@samsung.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-GB Content-Transfer-Encoding: 8bit Op 12-12-19 om 11:14 schreef Peter Stephenson: > On Tue, 2019-12-10 at 20:23 +0100, Martijn Dekker wrote: >> Op 24-11-19 om 06:54 schreef Martijn Dekker: >> [...] >>> >>> A related issue (possibly the same?) with a much simpler test case: >>> >>> trap 'echo SIGINT; trap - INT; kill -s INT $$; echo woops' INT >>> kill -s INT $$ >>> >>> zsh prints 'woops', but shouldn't. >> Ping? >> >> Is this just being missed, or is it considered too unimportant? > > Are you saying there's a fix for this we need to apply?  I haven't seen > one. No, I'm saying my nearly year-old bug report seems to be being either overlooked or ignored. I don't have the expertise to fix this myself. Signal handling in C is beyond me. I could give it a try, but it would likely be wrong and/or broken, so I figure I might as well not waste your time or mine. So far, zsh maintainers have been receptive to bug reports (mine and others) even if the reporter can't provide a fix. Has that changed? I mean, I'm not trying to criticise anyone. I fully understand if you only want bug report with patches. It's just that that isn't how things seem to have worked so far. - M. -- modernish -- harness the shell https://github.com/modernish/modernish