cuneiform team mailing list archive
-
cuneiform team
-
Mailing list archive
-
Message #00733
[Bug 640038] Re: i386 assembly
** Changed in: cuneiform-linux
Status: Confirmed => Fix Committed
--
i386 assembly
https://bugs.launchpad.net/bugs/640038
You received this bug notification because you are a member of Cuneiform
Linux, which is the registrant for Cuneiform for Linux.
Status in Linux port of Cuneiform: Fix Committed
Bug description:
In Kern/rstr/src/perc.c, there is some i386 assembly code used to swap byte order. This is ugly and unportable.
In Debian this issue was fixed by applying the attached patch; however it is not very portable either, as it requires a relatively recent version of GNU libc.
Perhaps the most portable way to fix it is to use the htonl() function: http://opengroup.org/onlinepubs/007908775/xns/htonl.html
References