dlls/msvcrt/files.c: Flush stdio buffers
Alexandre Julliard
julliard at winehq.org
Wed May 11 08:22:51 CDT 2005
wine.larry.engholm at xoxy.net writes:
> One of the changes to file.c for revision 1.66 (2004/05/12) moved the
> code to flush output buffers from _close() to MSVCRT_fclose(). The
> latter function isn't called by msvcrt_free_io() which is called by
> DllMain() for DLL_PROCESS_DETACH, so buffers are no longer flushed
> when a program exits.
Then it's msvcrt_free_io() that should be fixed, not _close().
--
Alexandre Julliard
julliard at winehq.org
More information about the wine-devel
mailing list