XAllocID issues -- returns 0, calls geteuid, looks strange

Tilman Sauerbeck tilman at code-monkey.de
Sun Aug 2 01:12:36 PDT 2009


Younes Manton [2009-08-01 20:54]:
> I'm having with some issues with XAllocID from libX11 1.1.5. In
> certain cases it returns 0, which seems very odd when I look at the
> source in XlibInt.c. Then I objdump libX11.so and I get this, which
> looks like a completely different function to me:
> [...]

The one in XlibInt.c is only used #if !USE_XCB. xcb_io.c provides a
version of _XAllocID that's used instead if you have XCB.

Regards,
Tilman

-- 
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing on usenet and in e-mail?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
Url : http://lists.x.org/archives/xorg-devel/attachments/20090802/c239d12b/attachment.pgp 


More information about the xorg-devel mailing list