[PATCH:libX11 0/3] Make Xlib a little less CRAY/_CRAY

Alan Coopersmith alan.coopersmith at oracle.com
Fri Mar 1 14:06:55 PST 2013


Xlib has been carrying around a lot of code to deal with the unusual integer
types & alignment requirements for old CRAY systems (ILP64, not LP64 or ILP32).

This code doesn't appear to have been fully functional in the nearly two decades
since the XKB integration, as can be seen by snippets such as:

#ifdef WORD64
_XkbWriteCopyData32 Not Implemented Yet for sizeof(int)==8
#endif

Since no one has been maintaining it, it's unknown how much of the newer code
needs such checks and doesn't have them, but if anyone ever needs ILP64 support
again, they can always refer to git history as a starting point.

Alan Coopersmith (3):
  unifdef MUSTCOPY
  unifdef WORD64
  unifdef CRAY & _CRAY

 include/X11/Xlib.h           |    4 -
 include/X11/Xlibint.h        |   53 +---------
 modules/om/generic/omXChar.c |   91 ++--------------
 src/ChWindow.c               |    9 --
 src/ConfWind.c               |   13 ---
 src/CrWindow.c               |    9 --
 src/DrArc.c                  |   12 ---
 src/DrLine.c                 |   16 ---
 src/DrPoint.c                |   15 ---
 src/DrRect.c                 |   16 ---
 src/FillArc.c                |   16 ---
 src/FillRct.c                |   15 ---
 src/Font.c                   |   44 +-------
 src/FontInfo.c               |   24 +----
 src/ImUtil.c                 |   14 +--
 src/LiHosts.c                |    7 --
 src/Macros.c                 |    5 -
 src/MoveWin.c                |    9 --
 src/PolyTxt16.c              |   23 ----
 src/Quarks.c                 |    4 -
 src/RestackWs.c              |    9 --
 src/SendEvent.c              |    5 -
 src/StColor.c                |   12 ---
 src/Text16.c                 |   23 ----
 src/XlibAsync.c              |    5 -
 src/XlibInt.c                |  236 ------------------------------------------
 src/xcms/cmsTrig.c           |    4 -
 src/xkb/XKBNames.c           |   56 ----------
 src/xkb/XKBRdBuf.c           |   28 -----
 src/xkb/XKBlibint.h          |    2 +-
 30 files changed, 15 insertions(+), 764 deletions(-)

-- 
1.7.9.2



More information about the xorg-devel mailing list