On 04/12/2011 03:30 PM, Chet Ramey wrote:
Probably because it's very old code.  That has been there essentially
unchanged since at least bash-1.12 -- almost twenty years ago.  It would
be better to block the signal while the trap string and handler are
being modified.

Chet
Thanks for the answer. And what about to not ignore the signal, but use some help handler, which will store the information that the signal is caught and then after the trap handler is initialized check that information? Or some documentation note about this?

RR

Reply via email to