Question about 64-bit code safety
airlied at gmail.com
Tue Sep 6 23:29:56 PDT 2005
> >The DRM needs to be imported into the X.org tree, it hasn't been yet,
> >I'm unsure of the exact procedure I think we wait until 7.0rc1 is
> >ready to go perhaps? Mesa also needs to be imported with the 32/64 bit
> >fixes.. I've no idea what FreeBSD does , hence didn't touch their code
> >(I've little enough clue how Linux does it, people with a clue sent me
> >patches.. :-)...
> >So yes a handle is now 32-bits on Linux no matter what we run it on..
> Right, but with the above tweak, it will only be defined as an "int"
> if the wordsize is 32. If the wordsize is 64, then the above condition
> will be untrue, and it will fall into the "unsigned long" case instead
> (which on 64-bit Linux is the correct size).
An how pray tell did you decide 64-bits is the correct size on 64-bit
Linux when I clearly stated previously "yes a handle is now 32-bits on
Linux no matter what we run it on.." and the code I actually checked
in states that 32-bits is the correct size on Linux on all platforms,
More information about the xorg