Subject: CVS commit: [netbsd-2-0] src
To: None <source-changes@NetBSD.org>
From: Matthias Scheler <tron@netbsd.org>
List: source-changes
Date: 06/22/2004 07:18:03
Module Name:	src
Committed By:	tron
Date:		Tue Jun 22 07:18:03 UTC 2004

Modified Files:
	src/usr.bin/rpcgen [netbsd-2-0]: rpc_clntout.c rpc_parse.c
	src/usr.sbin/makefs/ffs [netbsd-2-0]: ffs_balloc.c
	src/usr.sbin/mtree [netbsd-2-0]: excludes.c

Log Message:
Pull up revision 1.13 (requested by jmc in ticket #527):
Completely rework how tools/compat is done. Purge all uses/references to
_NETBSD_SOURCE as this makes cross building from older/newer versions of
NetBSD harder, not easier (and also makes the resulting tools 'different')
Wrap all required code with the inclusion of nbtool_config.h, attempt to
only use POSIX code in all places (or when reasonable test w. configure and
provide definitions: ala u_int, etc).
Reviewed by lukem. Tested on FreeBSD 4.9, Redhat Linux ES3, NetBSD 1.6.2 x86
NetBSD current (x86 and amd64) and Solaris 9.
Fixes PR's: PR#17762 PR#25944


To generate a diff of this commit:
cvs rdiff -r1.12 -r1.12.4.1 src/usr.bin/rpcgen/rpc_clntout.c \
    src/usr.bin/rpcgen/rpc_parse.c
cvs rdiff -r1.12 -r1.12.2.1 src/usr.sbin/makefs/ffs/ffs_balloc.c
cvs rdiff -r1.12 -r1.12.2.1 src/usr.sbin/mtree/excludes.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.