Skip to content
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

Add fflush(stdout) after writing to stdout with printf #4871

Merged
merged 1 commit into from
Jun 12, 2023

Conversation

NobWow
Copy link
Contributor

@NobWow NobWow commented Jun 11, 2023

I just added one line so it flushes the stdout after writing to it.
This fixes issues where it creates a backlog of piped output (e.g. if server is running through a wrapper or any sort of piped output)

Agreement

By creating a pull request in stk-code, you hereby agree to dual-license your contribution as
GNU General Public License version 3 or any later version and
Mozilla Public License version 2 or any later version.

This includes your previous contribution(s) under the same name of contributor.

Keep the above statement in the pull request comment for agreement.

fixes issues with backlog when server is running through a pipe
@Benau Benau merged commit 41609ef into supertuxkart:master Jun 12, 2023
22 checks passed
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.

2 participants