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

Fix flushing C++ iostreams before calling write_console() #3689

Merged
merged 1 commit into from
Oct 25, 2023

Conversation

dimztimz
Copy link
Contributor

This change correctly implements https://wg21.link/P2539/ for both C streams and C++ iostreams.

Fixes #3688.

@dimztimz dimztimz force-pushed the flush-write-console branch from f6fac06 to e7de8c3 Compare October 25, 2023 19:22
This change correctly implements https://wg21.link/P2539/ for both
C streams and C++ iostreams.

Fixes fmtlib#3688.
@dimztimz dimztimz force-pushed the flush-write-console branch from e7de8c3 to f77165d Compare October 25, 2023 19:25
@vitaut vitaut merged commit 2a2c6e6 into fmtlib:master Oct 25, 2023
40 checks passed
@vitaut
Copy link
Contributor

vitaut commented Oct 25, 2023

Thanks!

@dimztimz dimztimz deleted the flush-write-console branch October 25, 2023 20:22
ckerr pushed a commit to transmission/fmt that referenced this pull request Nov 7, 2023
This change correctly implements https://wg21.link/P2539/ for both
C streams and C++ iostreams.

Fixes fmtlib#3688.
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.

Incorrect call to fflush() inside write_console()
2 participants