projects
/
p5sagit/p5-mst-13.2.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(parent:
2d40587
)
restore change#7202
Gurusamy Sarathy [Thu, 12 Oct 2000 18:11:24 +0000 (18:11 +0000)]
p4raw-link: @7202 on //depot/perl:
c3fbb29af1dd039d12fa65f0dc334e804a3883fc
p4raw-id: //depot/perl@7204
mg.c
patch
|
blob
|
blame
|
history
diff --git
a/mg.c
b/mg.c
index
721cfb9
..
bec0a82
100644
(file)
--- a/
mg.c
+++ b/
mg.c
@@
-1425,6
+1425,8
@@
Perl_magic_getsubstr(pTHX_ SV *sv, MAGIC *mg)
if (rem + offs > len)
rem = len - offs;
sv_setpvn(sv, tmps + offs, (STRLEN)rem);
+ if (DO_UTF8(lsv))
+ SvUTF8_on(sv);
return 0;
}