Subject: port-arm/32734: Fallback ntohl &co are defined to bswap regardless of endianness
To: None <email@example.com, firstname.lastname@example.org,>
From: None <email@example.com>
Date: 02/04/2006 22:00:01
>Synopsis: Fallback ntohl &co are defined to bswap regardless of endianness
>Arrival-Date: Sat Feb 04 22:00:01 +0000 2006
>Originator: Valeriy E. Ushakov
uncodintionally defines ntohs and htons as
atlernative entry points into bswap16
Ditto for bswap32.
That should be conditionalized on endianness
and for big endian no-op versions should be provided.
I guess nobody has ever encountered this bug
as the ntohl &co are inlined.
Source code inspection.
THis is trivial to fix with come cpp logic similar to
My arm fu is too weak to fix this myself.