|
From: Phillip S. <ps...@cf...> - 2002-05-01 21:05:52
|
Absolutely this change is not correct. ReadFile() reads the console in whatever mode it is set in currently. The CRT read() function, and all of the standard IO functions are not supposed to change the console mode, thus they will read line buffered. The console being line buffered would not cause gets() to fail, so I think you are barking up the wrong tree here. At 09:14 PM 5/1/2002 +0000, you wrote: >I don't see that the second change is correct; where is it documented that >ReadFile always reads in non-raw, echoed mode? Shouldn't the library >implementing the libc interface set the console mode themselves? |