* Ralf Wildenhues wrote on Tue, Nov 13, 2007 at 12:08:28AM CET: > * Bob Proulx wrote on Mon, Nov 12, 2007 at 10:52:45PM CET: > > Ralf Wildenhues wrote: > > > Ahh. More head scratching. I'd appreciate if somebody could > > > look over these two proposed patches to see if what I think how > > > signals ought to work makes sense. > > > > This one I think is the opposite of what it needs to be. > > > > > + trap '' $signal > > > > I think that should be <trap - $signal> instead. But of course that > > was the topic of the discussion:
And part of the portability warnings in autoconf.texi. Hmm. I tested some more, only to add to the confusion. Apparently pdksh does not (always?) execute the EXIT handler when it exits from a signal (!=0) handler, so that seems very unreliable. For now I have only applied the aclocal.in fix which was uncontroversial, to master and branch-1-10. Cheers, Ralf