[Xcb] Developer mad at libx11-xcb

Kris Maglione jg at suckless.org
Sun Feb 3 21:12:51 PST 2008


On Sun, Feb 03, 2008 at 08:58:19PM -0800, Barton C Massey wrote:
>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.

Right, I wouldn't even think of messing with the flags of a file 
descriptor that I don't control. I only intended to set the 
close-on-exec bit, which isn't a flag. One letter makes a huge 
difference *shrug*. Why do you set it non-blocking, though? Does 
that offer some advantage over select()ing on it (other than 
brevity)?

-- 
Kris Maglione

Never play leapfrog with a photo enlarger.

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/20080204/a7f73186/attachment.pgp 


More information about the Xcb mailing list