[Openais] [corosync trunk] solaris totemip port

Steven Dake sdake at redhat.com
Sat Jun 6 04:36:09 PDT 2009


totemip uses a GNU glibc-ism (s16_addr in the in6_addr struct) which is
not available on non-GLIBC systems (solaris specifically).

This patch changes the compare to compare 8 bits at a time instead of
16.

Chrissie, is there a reason the compare was being done 16 bits at a
time?  If so, we will have to cache two 8 bit values into a 16 bit value
for each and then do the comparison to be portable.

Also 32 bit access is not portable.

Regards
-steve
-------------- next part --------------
A non-text attachment was scrubbed...
Name: corosync-trunk-solaris-port-totemip.patch
Type: text/x-patch
Size: 1014 bytes
Desc: not available
Url : http://lists.linux-foundation.org/pipermail/openais/attachments/20090606/7e71f1b6/attachment.bin 


More information about the Openais mailing list