projects
/
p5sagit/p5-mst-13.2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
avoid $@-clearing sideeffect of require in Carp
[p5sagit/p5-mst-13.2.git]
/
pp_hot.c
diff --git
a/pp_hot.c
b/pp_hot.c
index
6ef302c
..
8dab651
100644
(file)
--- a/
pp_hot.c
+++ b/
pp_hot.c
@@
-87,6
+87,8
@@
PP(pp_stringify)
char *s;
s = SvPV(TOPs,len);
sv_setpvn(TARG,s,len);
+ if (SvUTF8(TOPs) && !IN_BYTE)
+ SvUTF8_on(TARG);
SETTARG;
RETURN;
}