Subject: Re: CVS commit: src
To: Matt Thomas <matt@3am-software.com>
From: Luke Mewburn <lukem@NetBSD.org>
List: source-changes
Date: 10/28/2003 15:53:30
On Mon, Oct 27, 2003 at 08:47:29PM -0800, Matt Thomas wrote:
  | 
  | On Monday, October 27, 2003, at 08:17 PM, Luke Mewburn wrote:
  | 
  | >On Tue, Oct 28, 2003 at 04:00:51AM +0000, James Chacon wrote:
  | >  |
  | >  | Module Name:	src
  | >  | Committed By:	jmc
  | >  | Date:		Tue Oct 28 04:00:51 UTC 2003
  | >  |
  | >  | Modified Files:
  | >  | 	src/lib/libc/citrus: citrus_db_factory.c
  | >  | 	src/usr.bin/mkcsmapper: yacc.y
  | >  |
  | >  | Log Message:
  | >  | SUSE3 says htonl and friends come in via arpa/inet.h. This will 
  | >actually not
  | >  | hurt on NetBSD and makes hosting on non-native for tools/ work 
  | >correctly
  | >
  | >Any reason not to use htobe32() (et al) from <sys/endian.h> instead ?
  | 
  | Because it's a host tool?

Other programs that are also host tools (e.g., installboot) use
htobe32() et al.

I.e, we already support these macros in host tools...