Skip to content

Commit

Permalink
Set default separator on syncfile handle.
Browse files Browse the repository at this point in the history
  • Loading branch information
jnthn committed Oct 30, 2015
1 parent d87a5a0 commit a5f1971
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/io/syncfile.c
Expand Up @@ -452,6 +452,7 @@ MVMObject * MVM_file_open_fh(MVMThreadContext *tc, MVMString *filename, MVMStrin
data->fd = fd;
data->filename = fname;
data->encoding = MVM_encoding_type_utf8;
MVM_string_decode_stream_sep_default(tc, &(data->sep_spec));
result->body.ops = &op_table;
result->body.data = data;

Expand Down

0 comments on commit a5f1971

Please sign in to comment.