mldonkey-users
[Top][All Lists]
Advanced

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

[Mldonkey-users] [patch #4657] Improve endianness checking in tiger.c, m


From: spiralvoice
Subject: [Mldonkey-users] [patch #4657] Improve endianness checking in tiger.c, m5_c.c and CryptoPP.h, print endianness in buildinfo, removed sha1_old code
Date: Tue, 29 Nov 2005 03:48:21 +0100
User-agent: Mozilla/5.0 (X11; U; Linux i686; de-DE; rv:1.7.12) Gecko/20051125 Firefox/1.0.7

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/





reply via email to

[Prev in Thread] Current Thread [Next in Thread]