The unittests fail with a SIGBUS error on a Sparc-Linux.
The problem are casts from char- to integer-type pointers since integers have to be aligned on sparc (and other archs as well).
When such a pointer gets dereferenced the cpu/os throws a SIGBUS error. The solution is to memcpy from the char-array to the integer-location instead which also avoids the cast.
2009-11-14 19:19:01 UTC in aria2 - CLI Metalink/BitTorrent client