Subject: Re: N_GETMAGIC uses ntohl
To: Ignatios Souvatzis <is@netbsd.org>
From: Simon Burge <simonb@wasabisystems.com>
List: tech-toolchain
Date: 01/31/2005 10:55:01
Jason Thorpe wrote:
> On Jan 27, 2005, at 1:58 AM, Ignatios Souvatzis wrote:
>
> > N_GETMAGIC and friends in sys/exec_aout.h uses ntohl() and htonl()
> >
> > Would anything break if I replaced them by be32toh() and htobe32() ?
>
> I think that would be an appropriate change.
I agree, this isn't a "networky" usage.
Simon.
--
Simon Burge <simonb@wasabisystems.com>
NetBSD Support and Service: http://www.wasabisystems.com/