Update of patch #4657 (project mldonkey):
Summary: Improve endianness checking in tiger.c, m5_c.c and
CryptoPP.h, print endianness in buildinfo => Improve endianness checking in
tiger.c, m5_c.c and CryptoPP.h, print endianness in buildinfo, removed
sha1_old code
_______________________________________________________
Follow-up Comment #2:
Updated patch to use
#include <caml/config.h>
#if defined(ARCH_BIG_ENDIAN)
Ocaml checks endianness of machines during ./configure so there
is no need for MLDonkey to check endianness itself.
Also improved code for glibc_version()
sha1_old* code was removed, sha1_new* renamed to sha1*
sha1_old was kept for platforms where endianness is unknown, but
with the new method based on Ocaml values all platforms have
known endianness.
Patch tested on Linux x86, FreeBSD 6.0 x86, both little endian,
and Solaris 9/Sparc big endian.
Please test on as many archs as possible.
_______________________________________________________
Additional Item Attachment:
File name: 4657.patch Size:59 KB
<http://savannah.nongnu.org/patch/download.php?item_id=4657&item_file_id=5526>
_______________________________________________________
Reply to this item at:
<http://savannah.nongnu.org/patch/?func=detailitem&item_id=4657>
_______________________________________________
Nachricht geschickt von/durch Savannah
http://savannah.nongnu.org/
_______________________________________________
Mldonkey-users mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/mldonkey-users