mirror of
https://github.com/Ryujinx/GtkSharp.git
synced 2025-01-25 16:51:05 +00:00
dcc2850a39
Using fflush() right away after printf() calls avoids the buffers to
be written in an apparently complete-out-of-sync way from the point
of view of the developer. This problem would specially occur when
redirecting all output to a file this way:
mono Foo.exe > out.txt 2>&1
Without this fix, all the output from gui-thread-check would appear
at the end of the file, instead of in between the output generated by
the program.
Cherry-picked from
|
||
---|---|---|
.. | ||
gui-thread-check.c | ||
Makefile.am |