[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: [ARM] wide chars don't work

[I am not subscribed to -arm; please be sure include the bug address in
your reply.]

On Mon, Dec 13, 2004 at 03:30:50AM +0100, Gaetan Leurent wrote:
> Nicolas George wrote on 13 Dec 2004 01:53:59 +0100:
> > xterm is built with the default -mstructure-size-boundary value, 32. This
> > leads to sizeof(XChar2b) being 4 and not 2 as it should be. The result is
> > that xterm with wide-chars enabled will display a null character between
> > each second character.
> > The problem disappears if xterm is build with the
> > -mstructure-size-boundary=8 option.
> Rather than adding a flag when compiling every X program, we could add a
> __attribute__(packed) in X11/Xlib.h. The attached patch gives
> sizeof(XChar2b)==2.

[patch re-attached to this mail]

I'm pretty nervous about changing a public Xlib data structure like this.
Can someone patiently explain to me why there's no way this could possibly
be construed as an ABI change?

G. Branden Robinson                |     It's not a matter of alienating
Debian GNU/Linux                   |     authors.  They have every right to
branden@debian.org                 |     license their software however we
http://people.debian.org/~branden/ |     like.  -- Craig Sanders

Attachment: signature.asc
Description: Digital signature

Reply to: