[Xcb] Question about XML spec, and QueryExtension

Barton C Massey bart at cs.pdx.edu
Sun Aug 24 10:00:27 PDT 2008


In message <694519c50808240940r1a8b9516s98bb01d6ae288253 at mail.gmail.com> you wrote:
> However the written specification puts two padding bytes in-between
> "name_len" and "name":
> 
> And my code geberated from the XML doesn't work unless I include the
> two-bytes padding.  (I either get length-errors for short inputs or
> extension-not-present responses for extensions I know are present).
> 
> The XCB xproto.h doesn't include the padding either - and it's used
> extensively in xcb_ext.c, which makes me think that if QueryExtension
> were broken extensions in general would be broken.
> 
> Am I missing something here?  Presumably extensions work in XCB.

Extensions work in XCB, but the code that calls
QueryExtension is fairly custom: there may be two offsetting
bugs here.  I am just leaving town, but I'll try to look at
it in a few days when I return if someone else doesn't beat
me to it.

Thanks much for the Haskell bindings!

    Bart


More information about the Xcb mailing list