[Openais] [PATCH] Endian fixes
Patrick Caulfield
pcaulfie at redhat.com
Sat Apr 29 02:15:58 PDT 2006
Steven Dake wrote:
> Patrick,
>
> I'd rather wait to apply any patches relating to totemsrp until after
> the redundant ring work is completed.
>
> The change for clm are not 32/64 bit safe on big and litlte endian
> machines because a short is used in SaNameT in front of a 256 char
> array. Evil sa forum.
blech !
> How I'd like to fix this is to create structures that are 64 bit safe
> that we use in and around files in the exec directory. They may in fact
> duplicate the structure of the data structs in sa forum's apis, but be
> safe to pass over the network, etc.
>
No problem. I did it for largely selfish reasons anyway :)
Patrick
More information about the Openais
mailing list