Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Don't forget to set seps on special handles.
  • Loading branch information
jnthn committed Nov 4, 2015
1 parent 2de3c80 commit cc4d72c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/core/IO/Handle.pm
Expand Up @@ -70,6 +70,8 @@ my class IO::Handle does IO {
die "Don't know how to open '$_' especially";
}
$!chomp = $chomp;
$!nl-out = $nl-out;
Rakudo::Internals.SET_LINE_ENDING_ON_HANDLE($!PIO, $!nl-in = $nl-in);
nqp::setencoding($!PIO, Rakudo::Internals.NORMALIZE_ENCODING($enc))
unless $bin;
return self;
Expand Down

0 comments on commit cc4d72c

Please sign in to comment.