HEX
Server: Apache/2.4.41 (FreeBSD) OpenSSL/1.0.2s mod_fcgid/2.3.9
System: FreeBSD salazo 12.0-RELEASE-p1303-ZFS hostBSD 12.0-RELEASE-p1303-ZFS DMR amd64
User: admin (1000)
PHP: 7.4.3
Disabled: NONE
Upload Files
File: /usr/ports/biology/libgtextutils/files/patch-src_gtextutils_text__line__reader.cpp
--- 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() ;
 }