mschilli / log4perl

Log4j Implementation For Perl
http://log4perl.com
Other
116 stars 66 forks source link

readline() now sets eof at end of file, clear it #119

Closed tonycoz closed 1 year ago

tonycoz commented 1 year ago

80c1f1e in perl 5.37.3 fixed a bug where readline() could clear the stream eof flag right after reading up to end of file.

The log4perl tests depended on this bug, to continue to work, clear the eof flag before trying to continue reading from the redirected stdout/stderr files.

coveralls commented 1 year ago

Pull Request Test Coverage Report for Build 3102270925


Files with Coverage Reduction New Missed Lines %
lib/Log/Log4perl/Appender/File.pm 9 76.39%
<!-- Total: 9 -->
Totals Coverage Status
Change from base Build 2980905485: -0.3%
Covered Lines: 2372
Relevant Lines: 2642

💛 - Coveralls