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:20:43
Module Name: src
Committed By: tron
Date: Tue Jun 22 07:20:43 UTC 2004
Modified Files:
src/lib/libc/db/hash [netbsd-2-0]: hash_log2.c
src/tools/compat [netbsd-2-0]: defs.mk.in
src/usr.bin/ctags [netbsd-2-0]: fortran.c lisp.c yacc.c
src/usr.bin/rpcgen [netbsd-2-0]: rpc_scan.c
src/usr.bin/xlint/lint2 [netbsd-2-0]: hash.c mem2.c
Log Message:
Pull up revision 1.9 (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.8 -r1.8.2.1 src/lib/libc/db/hash/hash_log2.c
cvs rdiff -r1.8 -r1.8.2.1 src/tools/compat/defs.mk.in
cvs rdiff -r1.8 -r1.8.2.1 src/usr.bin/ctags/fortran.c \
src/usr.bin/ctags/lisp.c src/usr.bin/ctags/yacc.c
cvs rdiff -r1.8 -r1.8.4.1 src/usr.bin/rpcgen/rpc_scan.c
cvs rdiff -r1.8 -r1.8.4.1 src/usr.bin/xlint/lint2/hash.c
cvs rdiff -r1.8 -r1.8.2.1 src/usr.bin/xlint/lint2/mem2.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.