From 1c155a0d03ea25623ddfd995dd7b6e06f8e213f9 Mon Sep 17 00:00:00 2001 From: hawken Date: Wed, 12 Oct 2016 12:19:04 +0200 Subject: [PATCH] Fix for TextInputStream consuming file without producing lines --- src/input/TextInputStream.cxx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/input/TextInputStream.cxx b/src/input/TextInputStream.cxx index afa50fe94..a694cfa04 100644 --- a/src/input/TextInputStream.cxx +++ b/src/input/TextInputStream.cxx @@ -68,6 +68,8 @@ TextInputStream::ReadLine() return nullptr; } + buffer.Append(nbytes); + line = ReadBufferedLine(buffer); if (line != nullptr) return line;