Subject: CVS commit: src
To: None <source-changes@NetBSD.org>
From: Luke Mewburn <lukem@netbsd.org>
List: source-changes
Date: 10/27/2003 00:12:44
Module Name: src
Committed By: lukem
Date: Mon Oct 27 00:12:44 UTC 2003
Modified Files:
src/bin/cat: cat.c
src/bin/ls: stat_flags.c
src/bin/pax: ar_io.c ar_subs.c buf_subs.c cpio.c file_subs.c ftree.c
gen_subs.c getoldopt.c options.c pat_rep.c pax.c pax.h sel_subs.c
tables.c tar.c tty_subs.c
src/gnu/usr.sbin/dbsym: dbsym.c
src/gnu/usr.sbin/mdsetimage: mdsetimage.c
src/lib/libc/citrus: citrus_bcs.c citrus_db_factory.c citrus_db_hash.c
citrus_lookup_factory.c citrus_pivot_factory.c citrus_region.h
citrus_types.h
src/lib/libc/db/btree: btree.h
src/lib/libc/db/hash: hash.h
src/lib/libc/gen: __fts13.c err.c errx.c getcap.c pw_scan.c verrx.c
vwarn.c vwarnx.c warn.c warnx.c
src/lib/libc/hash: rmd160.c rmd160hl.c sha1.c sha1hl.c
src/lib/libc/md: md2c.c md2hl.c md4c.c md4hl.c md5c.c md5hl.c
src/lib/libc/stdio: gettemp.c mkdtemp.c mkstemp.c
src/lib/libc/stdlib: atoll.c getopt_long.c strsuftoll.c strtoll.c
src/lib/libc/string: strlcat.c strlcpy.c
src/lib/libc/time: private.h
src/lib/libutil: snprintb.c
src/libexec/makewhatis: makewhatis.c
src/sbin/mknod: mknod.c pack_dev.c
src/sys/arch/prep/stand/mkbootimage: mkbootimage.c
src/sys/ufs/ffs: ffs_bswap.c ffs_subr.c ffs_tables.c
src/tools/compat: Makefile compat_defs.h configure configure.ac db.h
defs.mk.in fgetln.c flock.c fts.h getmode.c glob.h issetugid.c
lchflags.c lchmod.c lchown.c md2.h md4.h md5.h namespace.h pread.c
putc_unlocked.c pwrite.c rmd160.h setenv.c setgroupent.c
setpassent.c setprogname.c sha1.h snprintf.c vis.h
src/usr.bin/cap_mkdb: cap_mkdb.c
src/usr.bin/cksum: extern.h
src/usr.bin/crunch/crunchgen: crunchgen.c
src/usr.bin/ctags: ctags.h
src/usr.bin/elf2ecoff: elf2ecoff.c
src/usr.bin/gencat: gencat.c
src/usr.bin/hexdump: conv.c display.c hexdump.c hexsyntax.c odsyntax.c
parse.c
src/usr.bin/lex: libyywrap.c
src/usr.bin/m4: extern.h
src/usr.bin/make: pathnames.h
src/usr.bin/man: manconf.c
src/usr.bin/menuc: defs.h
src/usr.bin/mkcsmapper: lex.l yacc.y
src/usr.bin/mkdep: findcc.c mkdep.c
src/usr.bin/mkesdb: lex.l yacc.y
src/usr.bin/mklocale: lex.l yacc.y
src/usr.bin/mktemp: mktemp.c
src/usr.bin/msgc: defs.h
src/usr.bin/rpcgen: rpc_scan.h
src/usr.bin/stat: stat.c
src/usr.bin/tsort: tsort.c
src/usr.bin/uudecode: uudecode.c
src/usr.bin/xinstall: xinstall.c
src/usr.bin/xlint/common: lint.h
src/usr.bin/xlint/xlint: xlint.c
src/usr.bin/yacc: defs.h
src/usr.sbin/config: defs.h
src/usr.sbin/installboot: bbinfo.c installboot.h
src/usr.sbin/installboot/arch: alpha.c i386.c macppc.c news.c pmax.c
sparc.c sun68k.c vax.c x68k.c
src/usr.sbin/makefs: makefs.h
src/usr.sbin/mtree: create.c extern.h verify.c
src/usr.sbin/pwd_mkdb: pwd_mkdb.c
Log Message:
Overhaul how `build.sh tools' are used:
* Rename "config.h" to "nbtool_config.h" and
HAVE_CONFIG_H to HAVE_NBTOOL_CONFIG_H.
This makes in more obvious in the source when we're using
tools/compat/config.h versus "standard autoconf" config.h
* Consistently move the inclusion of nbtool_config.h to before
<sys/cdefs.h> so that the former can provide __RCSID() (et al),
and there's no need to protect those macros any more.
These changes should make it easier to "tool-ify" a program by adding:
#if HAVE_NBTOOL_CONFIG_H
#include "nbtool_config.h"
#endif
to the top of the source files (for the general case).
To generate a diff of this commit:
cvs rdiff -r1.41 -r1.42 src/bin/cat/cat.c
cvs rdiff -r1.17 -r1.18 src/bin/ls/stat_flags.c
cvs rdiff -r1.38 -r1.39 src/bin/pax/ar_io.c
cvs rdiff -r1.28 -r1.29 src/bin/pax/ar_subs.c src/bin/pax/ftree.c
cvs rdiff -r1.22 -r1.23 src/bin/pax/buf_subs.c src/bin/pax/tables.c
cvs rdiff -r1.16 -r1.17 src/bin/pax/cpio.c
cvs rdiff -r1.35 -r1.36 src/bin/pax/file_subs.c
cvs rdiff -r1.31 -r1.32 src/bin/pax/gen_subs.c
cvs rdiff -r1.18 -r1.19 src/bin/pax/getoldopt.c src/bin/pax/sel_subs.c
cvs rdiff -r1.68 -r1.69 src/bin/pax/options.c
cvs rdiff -r1.20 -r1.21 src/bin/pax/pat_rep.c
cvs rdiff -r1.30 -r1.31 src/bin/pax/pax.c
cvs rdiff -r1.21 -r1.22 src/bin/pax/pax.h
cvs rdiff -r1.44 -r1.45 src/bin/pax/tar.c
cvs rdiff -r1.15 -r1.16 src/bin/pax/tty_subs.c
cvs rdiff -r1.6 -r1.7 src/gnu/usr.sbin/dbsym/dbsym.c
cvs rdiff -r1.13 -r1.14 src/gnu/usr.sbin/mdsetimage/mdsetimage.c
cvs rdiff -r1.2 -r1.3 src/lib/libc/citrus/citrus_bcs.c \
src/lib/libc/citrus/citrus_db_hash.c \
src/lib/libc/citrus/citrus_pivot_factory.c \
src/lib/libc/citrus/citrus_types.h
cvs rdiff -r1.5 -r1.6 src/lib/libc/citrus/citrus_db_factory.c
cvs rdiff -r1.3 -r1.4 src/lib/libc/citrus/citrus_lookup_factory.c \
src/lib/libc/citrus/citrus_region.h
cvs rdiff -r1.13 -r1.14 src/lib/libc/db/btree/btree.h
cvs rdiff -r1.12 -r1.13 src/lib/libc/db/hash/hash.h
cvs rdiff -r1.41 -r1.42 src/lib/libc/gen/__fts13.c
cvs rdiff -r1.22 -r1.23 src/lib/libc/gen/err.c
cvs rdiff -r1.10 -r1.11 src/lib/libc/gen/errx.c src/lib/libc/gen/warn.c
cvs rdiff -r1.38 -r1.39 src/lib/libc/gen/getcap.c
cvs rdiff -r1.12 -r1.13 src/lib/libc/gen/pw_scan.c
cvs rdiff -r1.11 -r1.12 src/lib/libc/gen/verrx.c src/lib/libc/gen/vwarn.c \
src/lib/libc/gen/vwarnx.c
cvs rdiff -r1.9 -r1.10 src/lib/libc/gen/warnx.c
cvs rdiff -r1.7 -r1.8 src/lib/libc/hash/rmd160.c src/lib/libc/hash/rmd160hl.c
cvs rdiff -r1.11 -r1.12 src/lib/libc/hash/sha1.c
cvs rdiff -r1.8 -r1.9 src/lib/libc/hash/sha1hl.c
cvs rdiff -r1.3 -r1.4 src/lib/libc/md/md2c.c src/lib/libc/md/md2hl.c
cvs rdiff -r1.10 -r1.11 src/lib/libc/md/md4c.c
cvs rdiff -r1.4 -r1.5 src/lib/libc/md/md4hl.c src/lib/libc/md/md5hl.c
cvs rdiff -r1.17 -r1.18 src/lib/libc/md/md5c.c
cvs rdiff -r1.11 -r1.12 src/lib/libc/stdio/gettemp.c
cvs rdiff -r1.8 -r1.9 src/lib/libc/stdio/mkdtemp.c
cvs rdiff -r1.7 -r1.8 src/lib/libc/stdio/mkstemp.c
cvs rdiff -r1.4 -r1.5 src/lib/libc/stdlib/atoll.c
cvs rdiff -r1.15 -r1.16 src/lib/libc/stdlib/getopt_long.c
cvs rdiff -r1.3 -r1.4 src/lib/libc/stdlib/strsuftoll.c
cvs rdiff -r1.5 -r1.6 src/lib/libc/stdlib/strtoll.c
cvs rdiff -r1.15 -r1.16 src/lib/libc/string/strlcat.c
cvs rdiff -r1.13 -r1.14 src/lib/libc/string/strlcpy.c
cvs rdiff -r1.22 -r1.23 src/lib/libc/time/private.h
cvs rdiff -r1.2 -r1.3 src/lib/libutil/snprintb.c
cvs rdiff -r1.29 -r1.30 src/libexec/makewhatis/makewhatis.c
cvs rdiff -r1.27 -r1.28 src/sbin/mknod/mknod.c
cvs rdiff -r1.5 -r1.6 src/sbin/mknod/pack_dev.c
cvs rdiff -r1.7 -r1.8 src/sys/arch/prep/stand/mkbootimage/mkbootimage.c
cvs rdiff -r1.21 -r1.22 src/sys/ufs/ffs/ffs_bswap.c
cvs rdiff -r1.29 -r1.30 src/sys/ufs/ffs/ffs_subr.c
cvs rdiff -r1.6 -r1.7 src/sys/ufs/ffs/ffs_tables.c
cvs rdiff -r1.27 -r1.28 src/tools/compat/Makefile
cvs rdiff -r1.30 -r1.31 src/tools/compat/compat_defs.h
cvs rdiff -r1.41 -r1.42 src/tools/compat/configure
cvs rdiff -r1.40 -r1.41 src/tools/compat/configure.ac
cvs rdiff -r1.2 -r1.3 src/tools/compat/db.h src/tools/compat/getmode.c \
src/tools/compat/lchflags.c src/tools/compat/lchmod.c \
src/tools/compat/lchown.c src/tools/compat/md4.h src/tools/compat/md5.h \
src/tools/compat/namespace.h src/tools/compat/pread.c \
src/tools/compat/putc_unlocked.c src/tools/compat/pwrite.c \
src/tools/compat/setenv.c src/tools/compat/sha1.h \
src/tools/compat/snprintf.c
cvs rdiff -r1.7 -r1.8 src/tools/compat/defs.mk.in
cvs rdiff -r1.4 -r1.5 src/tools/compat/fgetln.c src/tools/compat/flock.c
cvs rdiff -r1.1 -r1.2 src/tools/compat/fts.h src/tools/compat/glob.h \
src/tools/compat/issetugid.c src/tools/compat/md2.h \
src/tools/compat/rmd160.h src/tools/compat/vis.h
cvs rdiff -r1.3 -r1.4 src/tools/compat/setgroupent.c \
src/tools/compat/setpassent.c src/tools/compat/setprogname.c
cvs rdiff -r1.19 -r1.20 src/usr.bin/cap_mkdb/cap_mkdb.c
cvs rdiff -r1.11 -r1.12 src/usr.bin/cksum/extern.h
cvs rdiff -r1.50 -r1.51 src/usr.bin/crunch/crunchgen/crunchgen.c
cvs rdiff -r1.6 -r1.7 src/usr.bin/ctags/ctags.h
cvs rdiff -r1.20 -r1.21 src/usr.bin/elf2ecoff/elf2ecoff.c
cvs rdiff -r1.17 -r1.18 src/usr.bin/gencat/gencat.c
cvs rdiff -r1.10 -r1.11 src/usr.bin/hexdump/conv.c
cvs rdiff -r1.17 -r1.18 src/usr.bin/hexdump/display.c
cvs rdiff -r1.11 -r1.12 src/usr.bin/hexdump/hexdump.c \
src/usr.bin/hexdump/hexsyntax.c
cvs rdiff -r1.19 -r1.20 src/usr.bin/hexdump/odsyntax.c
cvs rdiff -r1.16 -r1.17 src/usr.bin/hexdump/parse.c
cvs rdiff -r1.6 -r1.7 src/usr.bin/lex/libyywrap.c
cvs rdiff -r1.11 -r1.12 src/usr.bin/m4/extern.h
cvs rdiff -r1.12 -r1.13 src/usr.bin/make/pathnames.h
cvs rdiff -r1.3 -r1.4 src/usr.bin/man/manconf.c
cvs rdiff -r1.7 -r1.8 src/usr.bin/menuc/defs.h
cvs rdiff -r1.2 -r1.3 src/usr.bin/mkcsmapper/lex.l \
src/usr.bin/mkcsmapper/yacc.y
cvs rdiff -r1.1 -r1.2 src/usr.bin/mkdep/findcc.c
cvs rdiff -r1.16 -r1.17 src/usr.bin/mkdep/mkdep.c
cvs rdiff -r1.1 -r1.2 src/usr.bin/mkesdb/lex.l src/usr.bin/mkesdb/yacc.y
cvs rdiff -r1.12 -r1.13 src/usr.bin/mklocale/lex.l
cvs rdiff -r1.22 -r1.23 src/usr.bin/mklocale/yacc.y
cvs rdiff -r1.5 -r1.6 src/usr.bin/mktemp/mktemp.c
cvs rdiff -r1.3 -r1.4 src/usr.bin/msgc/defs.h
cvs rdiff -r1.6 -r1.7 src/usr.bin/rpcgen/rpc_scan.h
cvs rdiff -r1.14 -r1.15 src/usr.bin/stat/stat.c
cvs rdiff -r1.19 -r1.20 src/usr.bin/tsort/tsort.c
cvs rdiff -r1.17 -r1.18 src/usr.bin/uudecode/uudecode.c
cvs rdiff -r1.79 -r1.80 src/usr.bin/xinstall/xinstall.c
cvs rdiff -r1.6 -r1.7 src/usr.bin/xlint/common/lint.h
cvs rdiff -r1.32 -r1.33 src/usr.bin/xlint/xlint/xlint.c
cvs rdiff -r1.12 -r1.13 src/usr.bin/yacc/defs.h
cvs rdiff -r1.13 -r1.14 src/usr.sbin/config/defs.h
cvs rdiff -r1.8 -r1.9 src/usr.sbin/installboot/bbinfo.c
cvs rdiff -r1.20 -r1.21 src/usr.sbin/installboot/installboot.h
cvs rdiff -r1.14 -r1.15 src/usr.sbin/installboot/arch/alpha.c
cvs rdiff -r1.11 -r1.12 src/usr.sbin/installboot/arch/i386.c
cvs rdiff -r1.6 -r1.7 src/usr.sbin/installboot/arch/macppc.c
cvs rdiff -r1.4 -r1.5 src/usr.sbin/installboot/arch/news.c
cvs rdiff -r1.10 -r1.11 src/usr.sbin/installboot/arch/pmax.c
cvs rdiff -r1.8 -r1.9 src/usr.sbin/installboot/arch/sparc.c
cvs rdiff -r1.18 -r1.19 src/usr.sbin/installboot/arch/sun68k.c
cvs rdiff -r1.9 -r1.10 src/usr.sbin/installboot/arch/vax.c
cvs rdiff -r1.1 -r1.2 src/usr.sbin/installboot/arch/x68k.c
cvs rdiff -r1.11 -r1.12 src/usr.sbin/makefs/makefs.h
cvs rdiff -r1.43 -r1.44 src/usr.sbin/mtree/create.c
cvs rdiff -r1.27 -r1.28 src/usr.sbin/mtree/extern.h
cvs rdiff -r1.35 -r1.36 src/usr.sbin/mtree/verify.c
cvs rdiff -r1.27 -r1.28 src/usr.sbin/pwd_mkdb/pwd_mkdb.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.