On 08/05/2009 08:13 AM, Bruno Haible wrote:
That's not a Microsoft documentation. Thus, it may break in future versions
of Windows.

This is just an optimization to avoid a system call and it is safe if it wrongly returns false.

(BTW I found out that this is not a Wine bug and can be probably reproducible on Windows. The root cause of the problem was that, unlike Unix, input and output console handles are distinct on Windows. I'll probably make a different patch which needs a precise test, and will use GetConsoleMode if you prefer).

Paolo


Reply via email to