Uncomment call to FlushConsoleInputBuffer in FlushFileBuffers

Dmitry Timoshkov dmitry at baikal.ru
Tue Dec 21 09:28:21 CST 2004


Hello,

Changelog:
    Dmitry Timoshkov <dmitry at codeweavers.com>
    Uncomment call to FlushConsoleInputBuffer in FlushFileBuffers.

--- cvs/hq/wine/dlls/kernel/file.c	2004-11-29 08:58:38.000000000 +0800
+++ wine/dlls/kernel/file.c	2004-12-21 22:58:38.000000000 +0800
@@ -681,9 +681,7 @@ BOOL WINAPI FlushFileBuffers( HANDLE hFi
     if (is_console_handle( hFile ))
     {
         /* this will fail (as expected) for an output handle */
-        /* FIXME: wait until FlushFileBuffers is moved to dll/kernel */
-        /* return FlushConsoleInputBuffer( hFile ); */
-        return TRUE;
+        return FlushConsoleInputBuffer( hFile );
     }
     nts = NtFlushBuffersFile( hFile, &ioblk );
     if (nts != STATUS_SUCCESS)






More information about the wine-patches mailing list