Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: [4.2/4.3] Bug with wait and trapped signals
- X-seq: zsh-workers 22282
- From: Peter Stephenson <p.w.stephenson@xxxxxxxxxxxx>
- To: zsh-workers@xxxxxxxxxx (Zsh hackers list)
- Subject: Re: [4.2/4.3] Bug with wait and trapped signals
- Date: Sat, 18 Feb 2006 17:36:07 +0000
- In-reply-to: Your message of "Sat, 18 Feb 2006 17:31:50 GMT." <200602181731.k1IHVoxk010917@xxxxxxxxxxxxxxxxx>
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
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 <p.w.stephenson@xxxxxxxxxxxx>
Web page still at http://www.pwstephenson.fsnet.co.uk/
Messages sorted by:
Reverse Date,
Date,
Thread,
Author