develooper Front page | perl.perl5.porters | Postings from July 2001

[PATCH ext/POSIX/POSIX.pm] Re: sigaction.t under QNX

From:
Norton Allen
Date:
July 5, 2001 10:28
Subject:
[PATCH ext/POSIX/POSIX.pm] Re: sigaction.t under QNX
Message ID:
200107051734.NAA13375@bottesini.harvard.edu
exit 0
=============

  This patch addresses the fact that osset is used in a
  saved destructor after the local C scope has expired.
  I will gladly entertain a more elegant solution if it
  is warranted.
  
     -Norton Allen

*** ../ORIG/perl-11148/ext/POSIX/POSIX.xs	Mon Jul  2 09:00:31 2001
--- perl-11148/ext/POSIX/POSIX.xs	Thu Jul  5 13:24:11 2001
***************
*** 1185,1191 ****
  	    struct sigaction act;
  	    struct sigaction oact;
  	    sigset_t sset;
! 	    sigset_t osset;
  	    POSIX__SigSet sigset;
  	    SV** svp;
  	    SV** sigsvp = hv_fetch(GvHVn(siggv),
--- 1185,1191 ----
  	    struct sigaction act;
  	    struct sigaction oact;
  	    sigset_t sset;
! 	    static sigset_t osset;
  	    POSIX__SigSet sigset;
  	    SV** svp;
  	    SV** sigsvp = hv_fetch(GvHVn(siggv),



nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About