projects
/
p5sagit/p5-mst-13.2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
Eliminate new_body_length from sv_dup. Replace SvTYPE(sstr) with
[p5sagit/p5-mst-13.2.git]
/
av.c
diff --git
a/av.c
b/av.c
index
df35b1a
..
5f9c092
100644
(file)
--- a/
av.c
+++ b/
av.c
@@
-244,7
+244,7
@@
Perl_av_fetch(pTHX_ register AV *av, I32 key, I32 lval)
}
else if (AvREIFY(av)
&& (!AvARRAY(av)[key] /* eg. @_ could have freed elts */
- || SvTYPE(AvARRAY(av)[key]) == SVTYPEMASK)) {
+ || SvIS_FREED(AvARRAY(av)[key]))) {
AvARRAY(av)[key] = &PL_sv_undef; /* 1/2 reify */
goto emptyness;
}