projects
/
p5sagit/p5-mst-13.2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
Bump Exporter's $VERSION.
[p5sagit/p5-mst-13.2.git]
/
pp.c
diff --git
a/pp.c
b/pp.c
index
04fab02
..
0cc80e6
100644
(file)
--- a/
pp.c
+++ b/
pp.c
@@
-323,8
+323,7
@@
PP(pp_av2arylen)
AV * const av = (AV*)TOPs;
SV ** const sv = Perl_av_arylen_p(aTHX_ (AV*)av);
if (!*sv) {
- *sv = newSV(0);
- sv_upgrade(*sv, SVt_PVMG);
+ *sv = newSV_type(SVt_PVMG);
sv_magic(*sv, (SV*)av, PERL_MAGIC_arylen, NULL, 0);
}
SETs(*sv);