Re: fixed xsettings on big endian



On Fri, 2002-04-12 at 18:05, Owen Taylor wrote:
> 
> jacob berkman <jacob ximian com> writes:
> 
> > i tracked down the bug on big endian machines with xsettings, and fixed
> > it in cvs (patch attached).
> 
> Apparently you forgot the attachment. :-)

sigh.

jacob
-- 
"don't get me wrong, i think that radiohead are amazing. i love their
 music and i love their ethos, but that thom yorke guy always seems to
 be complaining." -- moby
Index: xsettings-client.c
===================================================================
RCS file: /cvs/gnome/gtk+/gdk/x11/xsettings-client.c,v
retrieving revision 1.1
diff -u -r1.1 xsettings-client.c
--- xsettings-client.c	2 Apr 2001 23:33:47 -0000	1.1
+++ xsettings-client.c	12 Apr 2002 21:31:51 -0000
@@ -169,7 +169,7 @@
   if (BYTES_LEFT (buffer) < 1)
     return XSETTINGS_ACCESS;
 
-  *result = *(CARD32 *)buffer->pos;
+  *result = *(CARD8 *)buffer->pos;
   buffer->pos += 1;
 
   return XSETTINGS_SUCCESS;


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