cuneiform team mailing list archive
-
cuneiform team
-
Mailing list archive
-
Message #00693
[Bug 640038] Re: i386 assembly
I can't apply this patch as is, because it would break OSX and probably
also Windows. I'll try to look into this soon.
--
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: New
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