diff options
author | Jim Cromie <jcromie@cpan.org> | 2005-07-06 08:19:53 -0600 |
---|---|---|
committer | Steve Hay <SteveHay@planit.com> | 2005-07-08 16:35:10 +0000 |
commit | a02a5408b2f199007c4dcb74559cc79066307ada (patch) | |
tree | b5456b7513dec78b81e08371fbd59138e2edfe72 /ext/POSIX/POSIX.xs | |
parent | bdf3085f9fca00a6148ef3f26060d442844b64bd (diff) | |
download | perl-a02a5408b2f199007c4dcb74559cc79066307ada.tar.gz |
Re: janitorial work ? [patch]
Message-ID: <42CC3CE9.5050606@divsol.com>
(reverted all dual-lived modules since they must work with older
perls too so must wait for a new Devel::PPPort)
p4raw-id: //depot/perl@25101
Diffstat (limited to 'ext/POSIX/POSIX.xs')
-rw-r--r-- | ext/POSIX/POSIX.xs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/ext/POSIX/POSIX.xs b/ext/POSIX/POSIX.xs index 255be886bb..818e8618e2 100644 --- a/ext/POSIX/POSIX.xs +++ b/ext/POSIX/POSIX.xs @@ -586,7 +586,7 @@ new(packname = "POSIX::SigSet", ...) CODE: { int i; - New(0, RETVAL, 1, sigset_t); + Newx(RETVAL, 1, sigset_t); sigemptyset(RETVAL); for (i = 1; i < items; i++) sigaddset(RETVAL, SvIV(ST(i))); @@ -631,7 +631,7 @@ new(packname = "POSIX::Termios", ...) CODE: { #ifdef I_TERMIOS - New(0, RETVAL, 1, struct termios); + Newx(RETVAL, 1, struct termios); #else not_here("termios"); RETVAL = 0; @@ -1328,7 +1328,7 @@ sigaction(sig, optaction, oldaction = 0) sigset = INT2PTR(sigset_t*, tmp); } else { - New(0, sigset, 1, sigset_t); + Newx(sigset, 1, sigset_t); sv_setptrobj(*svp, sigset, "POSIX::SigSet"); } *sigset = oact.sa_mask; |