Reliable signal patch
Subject: reliable signal patch (was Re: Reliable signals)
On Tue, 26 Nov 1996, Kenneth Albanowski wrote:
> > I found that 2 places in perl still use unreliable signals:
> > my_pclose() in util.c
> > pp_system() in pp_sys.c
> >
> > Is this working as designed, or an omission?
> I guess a new set of signal macros are needed, to reliably save and
> restore signal settings.
Here is a patch that accomplishes this. It replaces the rsignal
construction in mg.c with a generalized set of functions: rsignal,
rsignalsave, rsignalrestore, and rsignalstate.
Note that global.sym is patched to accomodate the new globally accessible
functions. They probably will be of use to XSUBs too.
This was diffed from a slightly messy 5.003_08, but should apply
acceptably over any 5.003_* series.
p5p-msgid: <Pine.LNX.3.93.
961126053209.294J-100000@kjahds.com>