Files
ports/biology/libgtextutils/files/patch-src_gtextutils_text__line__reader.cpp
T
Jason W. Bacon 184db1bfcd biology/libgtextutils: Unbreak for FreeBSD 12
Reported by:    pkg-fallout
Approved by:    jrm
Differential Revision:  https://reviews.freebsd.org/D14892
2018-03-29 15:41:07 +00:00

12 lines
322 B
C++

--- src/gtextutils/text_line_reader.cpp.orig 2018-03-29 13:31:53 UTC
+++ src/gtextutils/text_line_reader.cpp
@@ -44,6 +44,7 @@ bool TextLineReader::next_line()
if (input_stream.eof())
return false;
- return input_stream ;
+ // Fix based on the only code change since 0.7
+ return input_stream.good() ;
}