Skip to content

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

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Oct 21, 2022

Conversation

tonycoz
Copy link
Contributor

@tonycoz tonycoz commented Sep 22, 2022

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.

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
Copy link

Pull Request Test Coverage Report for Build 3102270925

  • 0 of 0 changed or added relevant lines in 0 files are covered.
  • 9 unchanged lines in 1 file lost coverage.
  • Overall coverage decreased (-0.3%) to 89.78%

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

💛 - Coveralls

@mohawk2 mohawk2 merged commit 36ec64d into mschilli:master Oct 21, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants