Big Endian testing

Fred Wright fw at fwright.net
Wed Nov 29 23:48:12 UTC 2017


On Wed, 29 Nov 2017, Eric S. Raymond wrote:
> Fred Wright via devel <devel at ntpsec.org>:
> >
> > On Sat, 25 Nov 2017, Hal Murray via devel wrote:
> >
> > > It seems like a good idea for somebody to actually test our code on a
> > > big-endian system.
> >
> > I've run it on my PowerBook (OSX 10.5), though I didn't attempt any
> > detailed analysis of the behavior.  The clock offset had more wander than
> > I'd like, but no worse than classic ntpd.
>
> The Classic code was already endianness-proofed quite well. Breaking that
> property is a mistake I know how to avoid. :-)

I can believe that, but there are plenty of people who don't. :-)

I recall something at Google where there was a bash script with an
endian-sensitive argument.  Only of academic interest at the time.

Fred Wright


More information about the devel mailing list