[comp.windows.x] Bug in X11R1?

spencer@spline (Spencer W. Thomas) (02/06/88)

I am running X V11 R1 on a Sun workstation, and have run into a problem with 
XPutPixel and bitmaps.  It looks to me as though _XPutPixel cannot work on
68000 (or other big-endian) architectures due to an assumption in the code that
the address of a long int refers to its low order byte.  This may also be true
for other image types, I haven't checked the code (but I wouldn't be
surprised).  Has anyone else run into this problem and fixed it?  (I can fix it
myself, but I'm not sure what's the best way to make the fix portable (guess
I'm not familiar enough with the internals of the package.))  Is there some way
that the code "should know" what is the endedness of the machine it is running 
on?

=Spencer (spencer@crim.eecs.umich.edu)