Fix for TextInputStream consuming file without producing lines
This commit is contained in:
parent
8f196db778
commit
1c155a0d03
@ -68,6 +68,8 @@ TextInputStream::ReadLine()
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
buffer.Append(nbytes);
|
||||
|
||||
line = ReadBufferedLine(buffer);
|
||||
if (line != nullptr)
|
||||
return line;
|
||||
|
Loading…
Reference in New Issue
Block a user