Skip to content

Commit

Permalink
Merge branch 'maint'
Browse files Browse the repository at this point in the history
  • Loading branch information
garazdawi committed Nov 22, 2023
2 parents cd742ae + 687ef76 commit a6eda0a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/kernel/src/file.erl
Original file line number Diff line number Diff line change
Expand Up @@ -1502,6 +1502,8 @@ consult_stream(Fd, Line, Acc) ->
case io:read(Fd, '', Line) of
{ok,Term,EndLine} ->
consult_stream(Fd, EndLine, [Term|Acc]);
{error,Error} ->
{error,Error};
{error,Error,_Line} ->
{error,Error};
{eof,_Line} ->
Expand Down

0 comments on commit a6eda0a

Please sign in to comment.