projects
/
platform
/
upstream
/
perl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
105ae85
)
make Dumper.xs work with 5.10.x
author
David Mitchell
<davem@iabyn.com>
Sun, 4 Jan 2009 00:19:00 +0000
(
00:19
+0000)
committer
David Mitchell
<davem@iabyn.com>
Sun, 4 Jan 2009 00:19:00 +0000
(
00:19
+0000)
ext/Data/Dumper/Dumper.xs
patch
|
blob
|
history
diff --git
a/ext/Data/Dumper/Dumper.xs
b/ext/Data/Dumper/Dumper.xs
index
e7a342e
..
b39b77a
100644
(file)
--- a/
ext/Data/Dumper/Dumper.xs
+++ b/
ext/Data/Dumper/Dumper.xs
@@
-412,7
+412,7
@@
DD_dump(pTHX_ SV *val, const char *name, STRLEN namelen, SV *retval, HV *seenhv,
#if PERL_VERSION < 8
if (realpack && *realpack == 'R' && strEQ(realpack, "Regexp"))
#elif PERL_VERSION < 11
- if (realpack && realtype == SVt_PVMG && mg_find(
sv
, PERL_MAGIC_qr))
+ if (realpack && realtype == SVt_PVMG && mg_find(
ival
, PERL_MAGIC_qr))
#else
if (realpack && realtype == SVt_REGEXP)
#endif