64 bit cleanness vs. Xlib

Xlib is extremely weird ... when you set a property or stuff like that and
tell Xlib it's format 32 ... Xlib expects or gives you longs, not CARD32's
... which doesn't matter on the intel ... but craps out on the alpha .... now
this doesn't make much sense, but that's the way X works anyway ... I've
changed the gnome pager and gnome-winhints.c and made a patch for gtk to
make (hopefully) all the hints to work on alpha ... however if I've missed
anything ... here's what needs to be done: if you set a hint or whatever
with one or more 32bit quantities .. don't use CARD32, use long or
unsigned long ... when there is only one, it might work most fo the time but
it will not be reliable as you'll be getting some garbage to Xlib ... which
seems to confuse it sometimes and could cause segfaults


George Lebl <jirka@5z.com> http://www.5z.com/jirka/
  The following implements RSA in perl and is illegal to export from the US:

          #!/bin/perl -sp0777i<X+d*lMLa^*lN%0]dsXx++lMlN/dsM0<j]dsj
          $/=unpack('H*',$_);$_=`echo 16dio\U$k"SK$/SM$n\EsN0p[lN*1

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