projects
/
p5sagit/p5-mst-13.2.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(parent:
0c42fe9
)
Use sv_setpvs() like a few lines before since change #33557
Rafael Garcia-Suarez [Tue, 25 Mar 2008 09:52:27 +0000 (09:52 +0000)]
p4raw-link: @33557 on //depot/perl:
502d9230ec570254fed51ae721c1da50944a5cbf
p4raw-id: //depot/perl@33560
pp.c
patch
|
blob
|
blame
|
history
diff --git
a/pp.c
b/pp.c
index
3551d8f
..
8e2a395
100644
(file)
--- a/
pp.c
+++ b/
pp.c
@@
-3199,7
+3199,7
@@
PP(pp_substr)
else if (SvOK(sv)) /* is it defined ? */
(void)SvPOK_only_UTF8(sv);
else
- sv_setpvn(sv,"",0); /* avoid lexical reincarnation */
+ sv_setpvs(sv, ""); /* avoid lexical reincarnation */
}
if (SvTYPE(TARG) < SVt_PVLV) {