diff options
author | Hans Bolinder <[email protected]> | 2019-06-12 10:46:22 +0200 |
---|---|---|
committer | Hans Bolinder <[email protected]> | 2019-08-20 09:33:26 +0200 |
commit | 4109a03fe96226d10f36ac9b7c574670be875f13 (patch) | |
tree | 7e26e170991a838ab88713c20be042dfe38af858 /lib | |
parent | 5e59a04c56efb9e824c1c357930f046408239157 (diff) | |
download | otp-4109a03fe96226d10f36ac9b7c574670be875f13.tar.gz otp-4109a03fe96226d10f36ac9b7c574670be875f13.tar.bz2 otp-4109a03fe96226d10f36ac9b7c574670be875f13.zip |
mnesia: Update old format I/O-request
Diffstat (limited to 'lib')
-rw-r--r-- | lib/mnesia/src/mnesia_text.erl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/mnesia/src/mnesia_text.erl b/lib/mnesia/src/mnesia_text.erl index cc21621ff4..ee31fdfd27 100644 --- a/lib/mnesia/src/mnesia_text.erl +++ b/lib/mnesia/src/mnesia_text.erl @@ -1,7 +1,7 @@ %% %% %CopyrightBegin% %% -%% Copyright Ericsson AB 1996-2018. All Rights Reserved. +%% Copyright Ericsson AB 1996-2019. All Rights Reserved. %% %% Licensed under the Apache License, Version 2.0 (the "License"); %% you may not use this file except in compliance with the License. @@ -170,7 +170,7 @@ read_terms(Stream, File, Line, L) -> end. read_term_from_stream(Stream, File, Line) -> - R = io:request(Stream, {get_until,'',erl_scan,tokens,[Line]}), + R = io:request(Stream, {get_until,latin1,'',erl_scan,tokens,[Line]}), case R of {ok,Toks,EndLine} -> case erl_parse:parse_term(Toks) of |