projects
/
p5sagit/p5-mst-13.2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
[patch@31735]Archive Extract fix on VMS.
[p5sagit/p5-mst-13.2.git]
/
perlio.c
diff --git
a/perlio.c
b/perlio.c
index
ef07055
..
bbb12db
100644
(file)
--- a/
perlio.c
+++ b/
perlio.c
@@
-2268,6
+2268,8
@@
PerlIOBase_dup(pTHX_ PerlIO *f, PerlIO *o, CLONE_PARAMS *param, int flags)
if (self->Getarg)
arg = (*self->Getarg)(aTHX_ o, param, flags);
f = PerlIO_push(aTHX_ f, self, PerlIO_modestr(o,buf), arg);
+ if (PerlIOBase(o)->flags & PERLIO_F_UTF8)
+ PerlIOBase(f)->flags |= PERLIO_F_UTF8;
if (arg)
SvREFCNT_dec(arg);
}