Subject: Re: N_GETMAGIC uses ntohl
To: Ignatios Souvatzis <firstname.lastname@example.org>
From: Simon Burge <email@example.com>
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 Burge <firstname.lastname@example.org>
NetBSD Support and Service: http://www.wasabisystems.com/