https://bugs.winehq.org/show_bug.cgi?id=51698
Bug ID: 51698 Summary: ucrt stdio's stdout does not flush Product: Wine Version: unspecified Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: api-ms-win-* Assignee: wine-bugs@winehq.org Reporter: euloanty@live.com Distribution: ---
Not msvcrt. UCRT does not correctly flush. why?
https://bugs.winehq.org/show_bug.cgi?id=51698
Nikolay Sivov bunglehead@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Component|api-ms-win-* |-unknown
--- Comment #1 from Nikolay Sivov bunglehead@gmail.com --- Do you have a test program that shows this problem?
https://bugs.winehq.org/show_bug.cgi?id=51698
--- Comment #2 from cqwrteur euloanty@live.com --- (In reply to Nikolay Sivov from comment #1)
Do you have a test program that shows this problem?
https://github.com/tearosccebe/fast_io/blob/master/examples/0007.legacy/cons...
https://bugs.winehq.org/show_bug.cgi?id=51698
--- Comment #3 from cqwrteur euloanty@live.com --- https://github.com/tearosccebe/fast_io/blob/cleanup/examples/0007.legacy/con...
msvcrt works. ucrt does not.
https://bugs.winehq.org/show_bug.cgi?id=51698
--- Comment #4 from Nikolay Sivov bunglehead@gmail.com --- How do I build this, with ucrt or msvcrt, so it runs on Windows too?
https://bugs.winehq.org/show_bug.cgi?id=51698
--- Comment #5 from cqwrteur euloanty@live.com --- (In reply to Nikolay Sivov from comment #4)
How do I build this, with ucrt or msvcrt, so it runs on Windows too?
yes. just clone it and -Ifast_io/include. -std=c++20. It is a header only library.
msvcrt works. ucrt does not. since ucrt on wine does not flush.
https://bugs.winehq.org/show_bug.cgi?id=51698
cqwrteur euloanty@live.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |DUPLICATE
--- Comment #6 from cqwrteur euloanty@live.com --- This is because of issue 53960. The definitions of FILE in UCRT are wrong.
*** This bug has been marked as a duplicate of bug 53960 ***
https://bugs.winehq.org/show_bug.cgi?id=51698
Gijs Vermeulen gijsvrm@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #7 from Gijs Vermeulen gijsvrm@gmail.com --- Closing DUPLICATE.