On Mon, Oct 18, 2010 at 10:51:09 +1000, Peter Hutterer wrote: > Calculate length field to a multiples of sizeof(XID). XIDs are typedefs > to ulong and thus may be 8 bytes on some platforms. This can trigger a > SIGBUS if a class ends up not being 8-aligned (e.g. after XAxisInfo). > > Reported-by: Nicolai Stange <[email protected]> > Signed-off-by: Peter Hutterer <[email protected]> > --- > > > That would break ABI, though, so we can't do that... I think we should > > make sure the length field of a XAnyClassInfo is a multiple of > > sizeof(XID). > > something like this? > SizeClassInfo() looks like it needs these changes as well?
Cheers, Julien _______________________________________________ [email protected]: X.Org development Archives: http://lists.x.org/archives/xorg-devel Info: http://lists.x.org/mailman/listinfo/xorg-devel
