[Xcb] Developer mad at libx11-xcb

Kris Maglione jg at suckless.org
Sat Feb 2 20:44:25 PST 2008


On Sat, Feb 02, 2008 at 08:06:19PM -0800, Barton C Massey wrote:
>That's just weird.  I hate to ask, but you're *sure* that
>ConnectionNumber() is returning the correct fd, and not some
>small integer from elsewhere in the display structure?

          print("ConnectionNumber(%p) = %d\n", display, ConnectionNumber(display));
          print("XConnectionNumber(%p) = %d\n", display, XConnectionNumber(display));

ConnectionNumber(63ff20) = 3
XConnectionNumber(63ff20) = 3

What's more, my select loop depends on the result 
of ConnectionNumber, so I would have a (nearly) 
completely non-responsive program if its value were 
incorrect. Even beyond that, I can't imagine why there 
would be this problem if the wrong fd were being OCEXECed.

-- 
Kris Maglione

ACF2 is a four letter word.

PGP: http://suckless.org/~jg/pubkey.pgp
SHA1 (pubkey.pgp) = 2d464f9dbb186bee6f4faa88e2f6c5802bcfd935
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freedesktop.org/archives/xcb/attachments/20080202/489ab0e5/attachment.pgp 


More information about the Xcb mailing list