-----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 [email protected] -----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-----
