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: Eric Blake
Subject: Re: [PATCH] select/poll Wine bug workaround
Date: Thu, 20 Aug 2009 07:06:18 -0600
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.22) Gecko/20090605 Thunderbird/2.0.0.22 Mnenhy/0.7.6.666

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

According to Paolo Bonzini on 8/5/2009 12:01 AM:
> 
>> Where have you seen a documentation of the bit patterns of handles?
>> This will not necessarily work in all implementations (Windows, Wine,
>> ReactOS).
> 
> In Wine's source code and in
> http://www.winehq.org/docs/winedev-guide/x3500:
> 
> Console handles, on the other hand, are not multiple of four, but have
> the two lower bit set (being a multiple of four means having the two
> lower bits reset).

I see you pushed this commit, while still using your handle hack.  The
cygwin list pointed out this link, which argues against your practice:
http://blogs.msdn.com/oldnewthing/archive/2005/01/21/358109.aspx

- --
Don't work too hard, make some time for fun as well!

Eric Blake             address@hidden
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (Cygwin)
Comment: Public key at home.comcast.net/~ericblake/eblake.gpg
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkqNSkkACgkQ84KuGfSFAYAjEwCghsCxFii4+rIKHBXcJNkJX0wD
E6YAnj/vO8xAf44Og3zzokM2TE9Al2pt
=hor8
-----END PGP SIGNATURE-----




reply via email to

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