gtext-utils: Add source code patch, update TODO

This commit is contained in:
Jason Bacon 2019-01-07 19:52:10 -06:00
parent 356367dd25
commit 672ceff503
2 changed files with 16 additions and 1 deletions

View File

@ -1 +1 @@
Clean up and test
Change name to libgtextutils

View File

@ -0,0 +1,15 @@
$NetBSD$
# Modern C++ compilers don't implicitly convert istream to bool
--- src/gtextutils/text_line_reader.cpp.orig 2014-01-05 14:09:32.000000000 -0600
+++ src/gtextutils/text_line_reader.cpp 2019-01-07 19:39:57.233565835 -0600
@@ -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() ;
}