Uncomment call to FlushConsoleInputBuffer in FlushFileBuffers.
authorDmitry Timoshkov <dmitry@codeweavers.com>
Wed, 22 Dec 2004 14:51:46 +0000 (14:51 +0000)
committerAlexandre Julliard <julliard@winehq.org>
Wed, 22 Dec 2004 14:51:46 +0000 (14:51 +0000)
dlls/kernel/file.c

index 7956daa4f8bad708ddc4c0a11d701108c9ee03f8..e1990962371bf14ac8a0ccd45757595bd1ae16c4 100644 (file)
@@ -681,9 +681,7 @@ BOOL WINAPI FlushFileBuffers( HANDLE hFile )
     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)