Mailing List Archive

Perl5.002b1f
Forwarded message:
Re: Perl5.002b1f [ In reply to ]
On Thu, 21 Dec 1995, Stephen Degler wrote:

> Hi,
>
> I hate the behavior of signal(3) under Solaris (SVR4). When I set a
> signal handler via %SIG, it gets reset to SIG_DFLT upon entry into the
> signal handler. Maybe I'm just not a system V kind of guy, but I
> don't want this behavior (and posix on Solaris offers better
> behavior). Does the Net agree?
>
> My suggestion is to use sigaction, which is posix, or sigset which
> also works correctly (IMHO) under Solaris.

I'll second Stephen's comment and suggest that perl's %SIG handling
should always be reliable, regardless of whether sigaction, signal, or
hacks have to be used to get it.

Just another entry for the TODO file...

--
Kenneth Albanowski (kjahds@kjahds.com, CIS: 70705,126)