Retract #11165 since Sarathy pointed out it'll not
Jarkko Hietaniemi [Fri, 6 Jul 2001 12:29:56 +0000 (12:29 +0000)]
work properly under threads, the problem should be
solved using "the savestack, either via SSNEW() or
using a newSVpv()+SAVEFREESV() combo."

p4raw-id: //depot/perl@11175

ext/POSIX/POSIX.xs

index 00cf05b..1bf8521 100644 (file)
@@ -1185,7 +1185,7 @@ sigaction(sig, optaction, oldaction = 0)
            struct sigaction act;
            struct sigaction oact;
            sigset_t sset;
-           static sigset_t osset;
+           sigset_t osset;
            POSIX__SigSet sigset;
            SV** svp;
            SV** sigsvp = hv_fetch(GvHVn(siggv),