Uncomment call to FlushConsoleInputBuffer in FlushFileBuffers.

This commit is contained in:
Dmitry Timoshkov 2004-12-22 14:51:46 +00:00 committed by Alexandre Julliard
parent 580bce7a31
commit a8f025fd94

View 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)