From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 4111 invoked from network); 18 Feb 2006 17:36:25 -0000 X-Spam-Checker-Version: SpamAssassin 3.1.0 (2005-09-13) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-2.5 required=5.0 tests=AWL,BAYES_00, FORGED_RCVD_HELO autolearn=ham version=3.1.0 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by ns1.primenet.com.au with SMTP; 18 Feb 2006 17:36:25 -0000 Received: (qmail 55283 invoked from network); 18 Feb 2006 17:36:19 -0000 Received: from sunsite.dk (130.225.247.90) by a.mx.sunsite.dk with SMTP; 18 Feb 2006 17:36:19 -0000 Received: (qmail 11152 invoked by alias); 18 Feb 2006 17:36:17 -0000 Mailing-List: contact zsh-workers-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 22282 Received: (qmail 11142 invoked from network); 18 Feb 2006 17:36:16 -0000 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by sunsite.dk with SMTP; 18 Feb 2006 17:36:16 -0000 Received: (qmail 55034 invoked from network); 18 Feb 2006 17:36:16 -0000 Received: from mta08-winn.ispmail.ntl.com (81.103.221.48) by a.mx.sunsite.dk with SMTP; 18 Feb 2006 17:36:15 -0000 Received: from aamta12-winn.ispmail.ntl.com ([81.103.221.35]) by mta08-winn.ispmail.ntl.com with ESMTP id <20060218173614.FGLD29066.mta08-winn.ispmail.ntl.com@aamta12-winn.ispmail.ntl.com> for ; Sat, 18 Feb 2006 17:36:14 +0000 Received: from pwslaptop.csr.com ([81.105.238.64]) by aamta12-winn.ispmail.ntl.com with ESMTP id <20060218173614.HRGZ20737.aamta12-winn.ispmail.ntl.com@pwslaptop.csr.com> for ; Sat, 18 Feb 2006 17:36:14 +0000 Received: from pwslaptop.csr.com (pwslaptop.csr.com [127.0.0.1]) by pwslaptop.csr.com (8.13.4/8.13.4) with ESMTP id k1IHa78n011014 for ; Sat, 18 Feb 2006 17:36:07 GMT Received: from pwslaptop.csr.com (pws@localhost) by pwslaptop.csr.com (8.13.4/8.13.4/Submit) with ESMTP id k1IHa7Ik011011 for ; Sat, 18 Feb 2006 17:36:07 GMT Message-Id: <200602181736.k1IHa7Ik011011@pwslaptop.csr.com> X-Authentication-Warning: pwslaptop.csr.com: pws owned process doing -bs From: Peter Stephenson To: zsh-workers@sunsite.dk (Zsh hackers list) Subject: Re: [4.2/4.3] Bug with wait and trapped signals In-Reply-To: Your message of "Sat, 18 Feb 2006 17:31:50 GMT." <200602181731.k1IHVoxk010917@pwslaptop.csr.com> Date: Sat, 18 Feb 2006 17:36:07 +0000 Peter Stephenson wrote: > Vincent Lefevre wrote: > > > > 2.11 Signals and Error Handling > > > > [...] When the shell is waiting, by means of the wait utility, for > > asynchronous commands to complete, the reception of a signal for > > which a trap has been set shall cause the wait utility to return > > immediately with an exit status >128, immediately after which the > > trap associated with that signal shall be taken. > > Here's an attempt at fixing that. I'm unlikely to check this in before > 4.3.1. By the way, it passes Dan's test... remind me to add that to the trap tests if this (or improvemed version) gets checked in. -- Peter Stephenson Web page still at http://www.pwstephenson.fsnet.co.uk/