This is a live mirror of the Perl 5 development currently hosted at
https://github.com/perl/perl5
https://perl5.git.perl.org
/
perl5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
27ceb59
)
PATCH re 32711
author
Robin Barker
<RMBarker@cpan.org>
Mon, 24 Dec 2007 20:56:13 +0000
(20:56 +0000)
committer
Nicholas Clark
<nick@ccl4.org>
Mon, 24 Dec 2007 21:26:22 +0000
(21:26 +0000)
From: "Robin Barker" <Robin.Barker@npl.co.uk>
Message-ID: <
46A0F33545E63740BC7563DE59CA9C6D0939A4
@exchsvr2.npl.ad.local>
"IMO patch 32711 is better implemented using (the existing) NUM2PTR macro, as below/attached."
p4raw-id: //depot/perl@32720
pp_hot.c
patch
|
blob
|
blame
|
history
diff --git
a/pp_hot.c
b/pp_hot.c
index
a2f9785
..
367f03e
100644
(file)
--- a/
pp_hot.c
+++ b/
pp_hot.c
@@
-1327,7
+1327,8
@@
play_it_again:
&& !SvROK(TARG)) /* Cannot trust since INTUIT cannot guess ^ */
goto yup;
}
- if (CALLREGEXEC(rx, (char*)s, (char *)strend, (char*)truebase, minmatch, TARG, INT2PTR(void*, (UV)gpos), r_flags))
+ if (CALLREGEXEC(rx, (char*)s, (char *)strend, (char*)truebase,
+ minmatch, TARG, NUM2PTR(void*, gpos), r_flags))
{
PL_curpm = pm;
if (dynpm->op_pmflags & PMf_ONCE) {