Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: [4.2/4.3] Bug with wait and trapped signals



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