[Xcb] _Problems_ in GSoC, 2011

Peter Harris pharris at opentext.com
Mon Jul 4 09:05:11 PDT 2011


On 2011-07-04 06:31, vikash agrawal wrote:
> Ah, I forgot to mention, I compiled the attached utility and found*no
> difference* is the output is master and tag 1.7. so what this utility
> signifies ?

Sounds like you forgot to LD_PRELOAD the libxcb built from master.

>     /* name */
>     *xcb_block_len += _aux->name_len * sizeof(char);* *
> // What is this?*

The size of the list of char.

>     /* insert padding */
>     *
>    xcb_pad = -xcb_block_len & 3;
>  // What is this?*

Padding, as if the field following the name is going to need an
alignment of 4.

This turns out to be false in the case of ListExtensions, as the next
field is another string (which does not have any padding).

Peter Harris
-- 
               Open Text Connectivity Solutions Group
Peter Harris                    http://connectivity.opentext.com/
Research and Development        Phone: +1 905 762 6001
pharris at opentext.com            Toll Free: 1 877 359 4866


More information about the Xcb mailing list