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 /regexec.c | |
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 'regexec.c')
-rw-r--r-- | regexec.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -2146,7 +2146,7 @@ S_regtry(pTHX_ regexp *prog, char *startpos) SAVEDESTRUCTOR_X(restore_pos, 0); } if (!PL_reg_curpm) { - Newz(22, PL_reg_curpm, 1, PMOP); + Newxz(PL_reg_curpm, 1, PMOP); #ifdef USE_ITHREADS { SV* repointer = newSViv(0); @@ -2192,7 +2192,7 @@ S_regtry(pTHX_ regexp *prog, char *startpos) if(PL_reg_start_tmp) Renew(PL_reg_start_tmp, PL_reg_start_tmpl, char*); else - New(22, PL_reg_start_tmp, PL_reg_start_tmpl, char*); + Newx(PL_reg_start_tmp, PL_reg_start_tmpl, char*); } /* XXXX What this code is doing here?!!! There should be no need @@ -3554,7 +3554,7 @@ S_regmatch(pTHX_ regnode *prog) } else { PL_reg_poscache_size = size; - Newz(29, PL_reg_poscache, size, char); + Newxz(PL_reg_poscache, size, char); } DEBUG_EXECUTE_r( PerlIO_printf(Perl_debug_log, |