Re: Bug#285396: [ARM] wide chars don't work
Jim Gettys wrote:
> This isn't saying we wouldn't add such a patch to X, though patches for
> a particular compiler on a particular architecture do get frowned on
> quite a lot: I just suspect ARM would find more code "just worked" if
> GCC behaved like other compilers in this case, and ARM would be better
> off as a result.
Well, and deliberate ABI changes are frowned upon by toolchain people.
To me (without having looked further than the bug report) this seems to
be an implementation bug in xlib, which appears to assume some magic
number as element granularity in the array instead of the proper
sizeof(element). So the correct fix for it wouldn't be