Skip to content

Conversation

@ndossche
Copy link
Member

The flush functions always return EOF, even in the success path. The success path should return 0 to indicate success.

The flush functions always return EOF, even in the success path.
The success path should return 0 to indicate success.
@@ -0,0 +1,25 @@
--TEST--
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

the 2 tests contain identical contents.. did you miss to alter one of them?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oops. What happened is that I was first working on this test, and then noticed the wrong return value.
So then I started writing a test in this file and then did save-as. Which is how we ended up with a duplicate.

@ndossche ndossche closed this in 2f9d86b Nov 15, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants