[Xcb] Developer mad at libx11-xcb

Barton C Massey bart at cs.pdx.edu
Sun Feb 3 20:58:19 PST 2008


In message <20080203221653.GA34746 at kris.home> you wrote:
> It seems that this is my fault. I was using F_SETFL
> instead of F_SETFD (which was, incidentally, also leaving
> my filesystem socket open throughout a whole process
> tree). I still don't understand why this broke Xlib-xcb
> and not XF86 Xlib, though.

We mark our file descriptor non-blocking; I'm guessing you
were clearing this flag when you tried to set your own
flags.  You need to get the current flags and alter them
rather than guessing what's already there, at least with
XCB.

> Sorry for the trouble.

No prob!  Thanks for the update.  I feel much better
now. :-)

    Bart


More information about the Xcb mailing list