Author: cwittich
Date: Thu Dec 18 06:32:32 2008
New Revision: 38171
URL:
http://svn.reactos.org/svn/reactos?rev=38171&view=rev
Log:
GENERIC_WRITE is required to flush the input buffer
Modified:
trunk/reactos/base/applications/cmdutils/more/more.c
Modified: trunk/reactos/base/applications/cmdutils/more/more.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/cmdutils…
==============================================================================
--- trunk/reactos/base/applications/cmdutils/more/more.c [iso-8859-1] (original)
+++ trunk/reactos/base/applications/cmdutils/more/more.c [iso-8859-1] Thu Dec 18 06:32:32
2008
@@ -124,7 +124,7 @@
return 0;
}
- hKeyboard = CreateFile (_T("CONIN$"), GENERIC_READ,
+ hKeyboard = CreateFile (_T("CONIN$"), GENERIC_READ|GENERIC_WRITE,
0,NULL,OPEN_ALWAYS,0,0);
GetScreenSize(&maxx,&maxy);