bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] select/poll Wine bug workaround


From: Paolo Bonzini
Subject: Re: [PATCH] select/poll Wine bug workaround
Date: Wed, 05 Aug 2009 08:21:11 +0200
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1b3pre) Gecko/20090513 Fedora/3.0-2.3.beta2.fc11 Lightning/1.0pre Thunderbird/3.0b2

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

[Prev in Thread] Current Thread [Next in Thread]