projects
/
p5sagit/p5-mst-13.2.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(parent:
9811a09
)
Point fix for s/// on foreach (keys %xxx).
Nick Ing-Simmons [Mon, 11 Sep 2000 09:57:33 +0000 (09:57 +0000)]
p4raw-id: //depot/perl@7049
pp_hot.c
patch
|
blob
|
blame
|
history
diff --git
a/pp_hot.c
b/pp_hot.c
index
6f0fd7c
..
ba81805
100644
(file)
--- a/
pp_hot.c
+++ b/
pp_hot.c
@@
-1785,6
+1785,8
@@
PP(pp_subst)
TARG = DEFSV;
EXTEND(SP,1);
}
+ if (SvFAKE(TARG) && SvREADONLY(TARG))
+ sv_force_normal(TARG);
if (SvREADONLY(TARG)
|| (SvTYPE(TARG) > SVt_PVLV
&& !(SvTYPE(TARG) == SVt_PVGV && SvFAKE(TARG))))