NetBSD Problem Report #17762

Received: (qmail 6198 invoked by uid 605); 30 Jul 2002 09:20:34 -0000
Message-Id: <20020730092033.319A711124@narn.netbsd.org>
Date: Tue, 30 Jul 2002 02:20:33 -0700 (PDT)
From: maxunder@choisyclub.org
Sender: gnats-bugs-owner@netbsd.org
Reply-To: maxunder@choisyclub.org
To: gnats-bugs@gnats.netbsd.org
Subject: Failed to cross compile NetBSD-current on FreeBSD-4.6
X-Send-Pr-Version: www-1.0

>Number:         17762
>Category:       toolchain
>Synopsis:       Failed to cross compile NetBSD-current on FreeBSD-4.6
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    thorpej
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Jul 30 09:21:01 +0000 2002
>Closed-Date:    Sun Jun 20 22:20:47 +0000 2004
>Last-Modified:  Tue Jun 22 07:32:09 +0000 2004
>Originator:     Maxime
>Release:        -current (29/07/2002)
>Organization:
ChoisyClub
>Environment:
FreeBSD fgw 4.6-STABLE FreeBSD 4.6-STABLE #15: Wed Jul 10 15:45:40 CEST 2002 admin@fgw:/usr/obj/usr/src/sys/fgw i386
>Description:
The build process cannot succed successfully when trying to cross compile NetBSD-current for mvme68k on a FreeBSD-4.6/i386.

Stopping on the folowing error:

/usr/include/stdlib.h:145: prototype declaration
/home/maxunder/netbsd/src/tools/cap_mkdb/../../lib/libc/gen/getcap.c: In function `getent':
/home/maxunder/netbsd/src/tools/cap_mkdb/../../lib/libc/gen/getcap.c:273: warning: passing arg 2 of `cgetmatch' discards qualifiers from pointer target type
/home/maxunder/netbsd/src/tools/cap_mkdb/../../lib/libc/gen/getcap.c:472: warning: passing arg 2 of `cgetmatch' discards qualifiers from pointer target type
/home/maxunder/netbsd/src/tools/cap_mkdb/../../lib/libc/gen/getcap.c: In function `cgetmatch':
/home/maxunder/netbsd/src/tools/cap_mkdb/../../lib/libc/gen/getcap.c:683: argument `buf' doesn't match prototype
/usr/include/stdlib.h:147: prototype declaration
/home/maxunder/netbsd/src/tools/cap_mkdb/../../lib/libc/gen/getcap.c:683: argument `name' doesn't match prototype
/usr/include/stdlib.h:147: prototype declaration
/home/maxunder/netbsd/src/tools/cap_mkdb/../../lib/libc/gen/getcap.c: In function `cgetstr':
/home/maxunder/netbsd/src/tools/cap_mkdb/../../lib/libc/gen/getcap.c:899: argument `cap' doesn't match prototype
/usr/include/stdlib.h:151: prototype declaration
/home/maxunder/netbsd/src/tools/cap_mkdb/../../lib/libc/gen/getcap.c:913: warning: passing arg 2 of `cgetcap' discards qualifiers from pointer target type
/home/maxunder/netbsd/src/tools/cap_mkdb/../../lib/libc/gen/getcap.c: In function `cgetustr':
/home/maxunder/netbsd/src/tools/cap_mkdb/../../lib/libc/gen/getcap.c:1037: argument `cap' doesn't match prototype
/usr/include/stdlib.h:152: prototype declaration
/home/maxunder/netbsd/src/tools/cap_mkdb/../../lib/libc/gen/getcap.c:1051: warning: passing arg 2 of `cgetcap' discards qualifiers from pointer target type
/home/maxunder/netbsd/src/tools/cap_mkdb/../../lib/libc/gen/getcap.c: In function `cgetnum':
/home/maxunder/netbsd/src/tools/cap_mkdb/../../lib/libc/gen/getcap.c:1120: argument `cap' doesn't match prototype
/usr/include/stdlib.h:149: prototype declaration
/home/maxunder/netbsd/src/tools/cap_mkdb/../../lib/libc/gen/getcap.c:1132: warning: passing arg 2 of `cgetcap' discards qualifiers from pointer target type
*** [getcap.lo] Error code 1
1 error

nbmake: stopped in /home/maxunder/netbsd/src/tools/cap_mkdb
*** [dependall] Error code 2
1 error

nbmake: stopped in /home/maxunder/netbsd/src/tools/cap_mkdb
*** Error code 2

Stop.
nbmake: stopped in /home/maxunder/netbsd/src/tools
*** [do-tools] Error code 1
1 error

>How-To-Repeat:
On a FreeBSD box:
cd /home/maxunder/netbsd
mkdir tools dest rel
cvs co src
cd src
./build.sh -Uod -m mvme68k -T /home/maxunder/netbsd/tools -R /home/maxunder/netbsd/rel -D /home/maxunder/netbsd/dest

>Fix:

>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->feedback 
State-Changed-By: thorpej 
State-Changed-When: Fri Mar 14 15:53:59 PST 2003 
State-Changed-Why:  
FreeBSD hosted builds should work in -current now.  Please verify. 


Responsible-Changed-From-To: toolchain-manager->thorpej 
Responsible-Changed-By: thorpej 
Responsible-Changed-When: Fri Mar 14 15:53:59 PST 2003 
Responsible-Changed-Why:  
uwe and I handled the changes for FreeBSD and Darwin hosted builds. 

From: "Maxime Kurkdjian" <Maxime.Kurkdjian@oxalide.com>
To: <thorpej@netbsd.org>, <toolchain-manager@netbsd.org>,
  <gnats-bugs@netbsd.org>
Cc:  
Subject: RE: toolchain/17762
Date: Mon, 5 May 2003 23:08:08 +0200

 Host: FreeBSD 4.8-STABLE

 from a clean cvs co:

 [maxunder@fgw.choisyclub.org /space/netbsd/src] ./build.sh -U -m mvme68k =
 -D /space/netbsd/dest -T /space/netbsd/tools -R /space/netbsd/rel build

 cc -O -I. -I/space/netbsd/src/tools/installboot =
 -I/space/netbsd/src/tools/installboot/../mips-elf2ecoff =
 -I/space/netbsd/src/tools/compat/obj =
 -I/space/netbsd/src/tools/compat/obj/include  =
 -I/space/netbsd/src/tools/installboot/../compat -DHAVE_CONFIG_H  =
 -D_FILE_OFFSET_BITS=3D64 -D_NETBSD_SOURCE  =
 -I/space/netbsd/src/tools/installboot/../../usr.sbin/installboot -I. -c =
 -o installboot.lo.o =
 /space/netbsd/src/tools/installboot/../../usr.sbin/installboot/installboo=
 t.c
 /space/netbsd/src/tools/installboot/../../usr.sbin/installboot/installboo=
 t.c: In function `main':
 /space/netbsd/src/tools/installboot/../../usr.sbin/installboot/installboo=
 t.c:124: structure has no member named `parseopt'
 *** Error code 1

 Stop.
 nbmake: stopped in /space/netbsd/src/tools/installboot
 *** Error code 1

 Stop.
 nbmake: stopped in /space/netbsd/src/tools/installboot
 *** Error code 1

 Stop.
 nbmake: stopped in /space/netbsd/src/tools
 *** Error code 1

 Stop.
 nbmake: stopped in /space/netbsd/src
 *** Error code 1

 Stop.
 nbmake: stopped in /space/netbsd/src

 ERROR: failed to make build
 *** BUILD ABORTED ***

 > -----Message d'origine-----
 > De : thorpej@netbsd.org [mailto:thorpej@netbsd.org]
 > Envoy=E9 : samedi 15 mars 2003 00:55
 > =C0 : maxunder@choisyclub.org; thorpej@netbsd.org;
 > toolchain-manager@netbsd.org; thorpej@netbsd.org
 > Objet : Re: toolchain/17762
 >=20
 >=20
 > Synopsis: Failed to cross compile NetBSD-current on FreeBSD-4.6
 >=20
 > State-Changed-From-To: open->feedback
 > State-Changed-By: thorpej
 > State-Changed-When: Fri Mar 14 15:53:59 PST 2003
 > State-Changed-Why:=20
 > FreeBSD hosted builds should work in -current now.  Please verify.
 >=20
 >=20
 > Responsible-Changed-From-To: toolchain-manager->thorpej
 > Responsible-Changed-By: thorpej
 > Responsible-Changed-When: Fri Mar 14 15:53:59 PST 2003
 > Responsible-Changed-Why:=20
 > uwe and I handled the changes for FreeBSD and Darwin hosted builds.
 >=20
State-Changed-From-To: feedback->open 
State-Changed-By: fair 
State-Changed-When: Thu May 29 07:21:37 UTC 2003 
State-Changed-Why:  
submitter reports that this is still a problem. 
State-Changed-From-To: open->feedback 
State-Changed-By: mrg 
State-Changed-When: Fri Apr 2 09:05:08 UTC 2004 
State-Changed-Why:  
this is reported to work in -current now.  can you confirm? 

thanks. 

From: Maxime Kurkdjian <maxunder@choisyclub.org>(by way of Erik E. Fair)
To: NetBSD GNATS Problem Report Tracking System <gnats-bugs@gnats.netbsd.org>
Cc:  
Subject: Re: toolchain/17762
Date: Mon, 24 May 2004 18:02:54 -0700

 <x-flowed>./build.sh -U -m mvme68k -D /space/netbsd/dest -T 
 /space/netbsd/tools -R
 /space/netbsd/rel build


 from a 2 weeks old cvs'updated src tree

 [...]

 obj ===> regress/sys/uvm
 obj ===> regress/sys/uvm/mmap
 obj ===> regress/usr.bin
 obj ===> regress/usr.bin/bzip2
 obj ===> regress/usr.bin/m4
 obj ===> regress/usr.bin/sort
 (cd /space/netbsd/src/tools && /space/netbsd/tools/bin/nbmake dependall)
 dependall ===> host-mkdep
 rm -f host-mkdep
 CC=cc CFLAGS=-O LDFLAGS=  sh
 /space/netbsd/src/tools/host-mkdep/configure --cache-file=config.cache
 configure: creating cache config.cache
 checking for sh... /bin/sh
 checking for mawk... no
 checking for gawk... no
 checking for nawk... nawk
 checking for gcc... cc
 checking for C compiler default output... a.out
 checking whether the C compiler works... yes
 checking whether we are cross compiling... no
 checking for executable suffix...
 checking for object suffix... o
 checking whether we are using the GNU C compiler... yes
 checking whether cc accepts -g... yes
 checking how to run the C preprocessor... cc -E
 updating cache config.cache
 configure: creating ./config.status
 config.status: creating host-mkdep
 install ===> host-mkdep
 mkdir -p /space/netbsd/tools/bin
 cp host-mkdep /space/netbsd/tools/bin/nbhost-mkdep
 chmod +x /space/netbsd/tools/bin/nbhost-mkdep
 dependall ===> compat
 mkdir -p include/sys include/machine include/rpc
 CC=cc CFLAGS=-O LDFLAGS=  sh /space/netbsd/src/tools/compat/configure
 --cache-file=config.cache
 configure: creating cache config.cache
 checking for sh... /bin/sh
 checking for gcc... cc
 checking for C compiler default output... a.out
 checking whether the C compiler works... yes
 checking whether we are cross compiling... no
 checking for executable suffix...
 checking for object suffix... o
 checking whether we are using the GNU C compiler... yes
 checking whether cc accepts -g... yes
 checking whether byte ordering is bigendian... no
 checking how to run the C preprocessor... cc -E
 checking for ANSI C header files... yes
 checking for zlib.h... yes
 checking for gzdopen in -lz... yes
 checking for sys/ioctl.h... yes
 checking for sys/mman.h... yes
 checking for sys/mtio.h... yes
 checking for sys/param.h... yes
 checking for sys/stat.h... yes
 checking for sys/time.h... yes
 checking for sys/types.h... yes
 checking for sys/utsname.h... yes
 checking for sys/wait.h... yes
 checking for assert.h... yes
 checking for ctype.h... yes
 checking for errno.h... yes
 checking for fcntl.h... yes
 checking for grp.h... yes
 checking for limits.h... yes
 checking for locale.h... yes
 checking for netdb.h... yes
 checking for pwd.h... yes
 checking for signal.h... yes
 checking for stdarg.h... yes
 checking for stdio.h... yes
 checking for stdlib.h... yes
 checking for string.h... yes
 checking for termios.h... yes
 checking for unistd.h... yes
 checking for dirent.h that defines DIR... yes
 checking for opendir in -ldir... no
 checking for sys/sysmacros.h... no
 checking for sys/syslimits.h... yes
 checking for features.h... no
 checking for malloc.h... yes
 checking for stddef.h... yes
 checking for machine/bswap.h... no
 checking for sys/cdefs.h... yes
 checking for sys/endian.h... yes
 checking for sys/featuretest.h... no
 checking for err.h... yes
 checking for inttypes.h... yes
 checking for libgen.h... yes
 checking for paths.h... yes
 checking for stdint.h... no
 checking for util.h... no
 checking for rpc/types.h... yes
 checking for getopt.h... no
 checking for netconfig.h... no
 checking for sys/types.h... (cached) yes
 checking for sys/stat.h... (cached) yes
 checking for stdlib.h... (cached) yes
 checking for string.h... (cached) yes
 checking for memory.h... yes
 checking for strings.h... yes
 checking for inttypes.h... (cached) yes
 checking for stdint.h... (cached) no
 checking for unistd.h... (cached) yes
 checking for size_t... yes
 checking for id_t... no
 checking for long long... yes
 checking for u_quad_t... yes
 checking for uint8_t... yes
 checking for u_int8_t... yes
 checking for uint16_t... yes
 checking for u_int16_t... yes
 checking for uint32_t... yes
 checking for u_int32_t... yes
 checking for uint64_t... yes
 checking for u_int64_t... yes
 checking for DIR.dd_fd... yes
 checking for struct dirent.d_namlen... yes
 checking for struct stat.st_flags... yes
 checking for struct stat.st_gen... yes
 checking for struct stat.st_mtimensec... no
 checking for struct statfs.f_iosize... no
 checking whether optind is declared... yes
 checking whether optreset is declared... yes
 checking whether sys_signame is declared... yes
 checking for working alloca.h... no
 checking for alloca... yes
 checking for library containing fparseln... -lutil
 checking for asprintf... yes
 checking for asnprintf... no
 checking for basename... yes
 checking for dirfd... no
 checking for dirname... yes
 checking for fgetln... yes
 checking for flock... yes
 checking for fparseln... yes
 checking for futimes... yes
 checking for getopt... yes
 checking for getopt_long... no
 checking for isblank... yes
 checking for issetugid... yes
 checking for lchmod... yes
 checking for lchown... yes
 checking for lutimes... yes
 checking for mkstemp... yes
 checking for mkdtemp... yes
 checking for pread... yes
 checking for pwcache_userdb... no
 checking for pwrite... yes
 checking for random... yes
 checking for setenv... yes
 checking for setgroupent... yes
 checking for setprogname... yes
 checking for setpassent... yes
 checking for snprintf... yes
 checking for strlcat... yes
 checking for strlcpy... yes
 checking for strsep... yes
 checking for vasprintf... yes
 checking for vasnprintf... no
 checking for vsnprintf... yes
 checking whether setgroupent is declared... yes
 checking whether setpassent is declared... yes
 checking for regfree in -lregex... no
 checking for library containing regfree... none required
 updating cache config.cache
 configure: creating ./config.status
 config.status: creating defs.mk
 config.status: creating config.h
 /space/netbsd/tools/bin/nbhost-mkdep -a  -I. -I./include
 -I/space/netbsd/src/tools/compat -DHAVE_CONFIG_H  -D_FILE_OFFSET_BITS=64
 -D__DBINTERFACE_PRIVATE
 /space/netbsd/src/tools/compat/../../lib/libc/gen/basename.c
 /space/netbsd/src/tools/compat/../../lib/libc/gen/dirname.c
 /space/netbsd/src/tools/compat/fgetln.c
 /space/netbsd/src/tools/compat/flock.c
 /space/netbsd/src/tools/compat/../../lib/libutil/fparseln.c
 /space/netbsd/src/tools/compat/getmode.c
 /space/netbsd/src/tools/compat/../../lib/libc/stdlib/getopt_long.c
 /space/netbsd/src/tools/compat/../../lib/libc/stdio/gettemp.c
 /space/netbsd/src/tools/compat/issetugid.c
 /space/netbsd/src/tools/compat/../../usr.bin/lex/libyywrap.c
 /space/netbsd/src/tools/compat/../../lib/libc/md/md2c.c
 /space/netbsd/src/tools/compat/../../lib/libc/md/md2hl.c
 /space/netbsd/src/tools/compat/../../lib/libc/md/md4c.c
 /space/netbsd/src/tools/compat/../../lib/libc/md/md4hl.c
 /space/netbsd/src/tools/compat/../../lib/libc/md/md5c.c
 /space/netbsd/src/tools/compat/../../lib/libc/md/md5hl.c
 /space/netbsd/src/tools/compat/../../lib/libc/stdio/mkdtemp.c
 /space/netbsd/src/tools/compat/../../lib/libc/stdio/mkstemp.c
 /space/netbsd/src/tools/compat/pread.c
 /space/netbsd/src/tools/compat/../../lib/libc/gen/pwcache.c
 /space/netbsd/src/tools/compat/pwrite.c
 /space/netbsd/src/tools/compat/../../lib/libc/gen/pw_scan.c
 /space/netbsd/src/tools/compat/../../lib/libc/hash/rmd160.c
 /space/netbsd/src/tools/compat/../../lib/libc/hash/rmd160hl.c
 /space/netbsd/src/tools/compat/setenv.c
 /space/netbsd/src/tools/compat/setgroupent.c
 /space/netbsd/src/tools/compat/setpassent.c
 /space/netbsd/src/tools/compat/setprogname.c
 /space/netbsd/src/tools/compat/../../lib/libc/hash/sha1.c
 /space/netbsd/src/tools/compat/../../lib/libc/hash/sha1hl.c
 /space/netbsd/src/tools/compat/snprintf.c
 /space/netbsd/src/tools/compat/../../lib/libc/string/strlcat.c
 /space/netbsd/src/tools/compat/../../lib/libc/string/strlcpy.c
 /space/netbsd/src/tools/compat/../../lib/libc/string/strmode.c
 /space/netbsd/src/tools/compat/../../lib/libc/string/strsep.c
 /space/netbsd/src/tools/compat/../../lib/libc/gen/unvis.c
 /space/netbsd/src/tools/compat/../../lib/libc/gen/vis.c
 /space/netbsd/src/tools/compat/../../lib/libc/gen/_err.c
 /space/netbsd/src/tools/compat/../../lib/libc/gen/_errx.c
 /space/netbsd/src/tools/compat/../../lib/libc/gen/_verr.c
 /space/netbsd/src/tools/compat/../../lib/libc/gen/_verrx.c
 /space/netbsd/src/tools/compat/../../lib/libc/gen/_vwarn.c
 /space/netbsd/src/tools/compat/../../lib/libc/gen/_vwarnx.c
 /space/netbsd/src/tools/compat/../../lib/libc/gen/_warn.c
 /space/netbsd/src/tools/compat/../../lib/libc/gen/_warnx.c
 /space/netbsd/src/tools/compat/../../lib/libc/gen/__fts13.c
 /space/netbsd/src/tools/compat/../../lib/libc/gen/__glob13.c
 /space/netbsd/src/tools/compat/../../lib/libc/db/btree/bt_close.c
 /space/netbsd/src/tools/compat/../../lib/libc/db/btree/bt_conv.c
 /space/netbsd/src/tools/compat/../../lib/libc/db/btree/bt_debug.c
 /space/netbsd/src/tools/compat/../../lib/libc/db/btree/bt_delete.c
 /space/netbsd/src/tools/compat/../../lib/libc/db/btree/bt_get.c
 /space/netbsd/src/tools/compat/../../lib/libc/db/btree/bt_open.c
 /space/netbsd/src/tools/compat/../../lib/libc/db/btree/bt_overflow.c
 /space/netbsd/src/tools/compat/../../lib/libc/db/btree/bt_page.c
 /space/netbsd/src/tools/compat/../../lib/libc/db/btree/bt_put.c
 /space/netbsd/src/tools/compat/../../lib/libc/db/btree/bt_search.c
 /space/netbsd/src/tools/compat/../../lib/libc/db/btree/bt_seq.c
 /space/netbsd/src/tools/compat/../../lib/libc/db/btree/bt_split.c
 /space/netbsd/src/tools/compat/../../lib/libc/db/btree/bt_utils.c
 /space/netbsd/src/tools/compat/../../lib/libc/db/db/db.c
 /space/netbsd/src/tools/compat/../../lib/libc/db/hash/hash.c
 /space/netbsd/src/tools/compat/../../lib/libc/db/hash/hash_bigkey.c
 /space/netbsd/src/tools/compat/../../lib/libc/db/hash/hash_buf.c
 /space/netbsd/src/tools/compat/../../lib/libc/db/hash/hash_func.c
 /space/netbsd/src/tools/compat/../../lib/libc/db/hash/hash_log2.c
 /space/netbsd/src/tools/compat/../../lib/libc/db/hash/hash_page.c
 /space/netbsd/src/tools/compat/../../lib/libc/db/mpool/mpool.c
 /space/netbsd/src/tools/compat/../../lib/libc/db/recno/rec_close.c
 /space/netbsd/src/tools/compat/../../lib/libc/db/recno/rec_delete.c
 /space/netbsd/src/tools/compat/../../lib/libc/db/recno/rec_get.c
 /space/netbsd/src/tools/compat/../../lib/libc/db/recno/rec_open.c
 /space/netbsd/src/tools/compat/../../lib/libc/db/recno/rec_put.c
 /space/netbsd/src/tools/compat/../../lib/libc/db/recno/rec_search.c
 /space/netbsd/src/tools/compat/../../lib/libc/db/recno/rec_seq.c
 /space/netbsd/src/tools/compat/../../lib/libc/db/recno/rec_utils.c
 cc -O  -I. -I./include -I/space/netbsd/src/tools/compat -DHAVE_CONFIG_H
    -D_FILE_OFFSET_BITS=64 -D__DBINTERFACE_PRIVATE -c -o basename.lo.o
 /space/netbsd/src/tools/compat/../../lib/libc/gen/basename.c
 In file included from config.h:102,
                    from /space/netbsd/src/tools/compat/namespace.h:9,
                    from
 /space/netbsd/src/tools/compat/../../lib/libc/gen/basename.c:44:
 /space/netbsd/src/tools/compat/compat_defs.h:211: conflicting types for
 `user_from_uid'
 /usr/include/stdlib.h:184: previous declaration of `user_from_uid'
 /space/netbsd/src/tools/compat/compat_defs.h:215: conflicting types for
 `group_from_gid'
 /usr/include/stdlib.h:166: previous declaration of `group_from_gid'
 *** Error code 1

 Stop.
 nbmake: stopped in /space/netbsd/src/tools/compat
 *** Error code 1

 Stop.
 nbmake: stopped in /space/netbsd/src/tools/compat
 *** Error code 1

 Stop.
 nbmake: stopped in /space/netbsd/src/tools
 *** Error code 1

 Stop.
 nbmake: stopped in /space/netbsd/src
 *** Error code 1

 Stop.
 nbmake: stopped in /space/netbsd/src
 *** Error code 1

 Stop.
 nbmake: stopped in /space/netbsd/src


 Why is it using local includes, /usr/include/stdlib.h ?
 Is there any flag to use to only use netbsd src includes ?


 -- 
 FYI: http://www.choisyclub.org/~maxunder/netiquette.html#par211

 </x-flowed>
State-Changed-From-To: feedback->closed 
State-Changed-By: jmc 
State-Changed-When: Sun Jun 20 22:20:19 UTC 2004 
State-Changed-Why:  
Check in mass rototill of tools/compat and builds work again on FreeBSD hosts. 

From: James Chacon <jmc@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc:  
Subject: pr/17762 CVS commit: src
Date: Sun, 20 Jun 2004 22:20:18 +0000 (UTC)

 Module Name:	src
 Committed By:	jmc
 Date:		Sun Jun 20 22:20:18 UTC 2004

 Modified Files:
 	src/bin/pax: ar_io.c file_subs.c ftree.c getoldopt.c options.c pax.c
 	src/include: getopt.h glob.h pwd.h
 	src/lib/libc/db/btree: bt_conv.c bt_debug.c bt_utils.c
 	src/lib/libc/db/hash: hash_bigkey.c hash_buf.c hash_func.c hash_log2.c
 	src/lib/libc/db/recno: rec_utils.c
 	src/lib/libc/gen: __fts13.c pwcache.c
 	src/lib/libc/stdio: fparseln.c
 	src/lib/libc/stdlib: getopt_long.c
 	src/lib/libc/string: strmode.c
 	src/sbin/mknod: mknod.c
 	src/share/mk: bsd.hostprog.mk
 	src/tools/compat: Makefile compat_defs.h configure configure.ac
 	    defs.mk.in nbtool_config.h.in
 	src/usr.bin/cksum: cksum.c crc.c md5.c print.c sum1.c sum2.c
 	src/usr.bin/ctags: C.c ctags.c fortran.c lisp.c print.c tree.c yacc.c
 	src/usr.bin/m4: eval.c expr.c gnum4.c look.c main.c misc.c trace.c
 	src/usr.bin/menuc: avl.c main.c mdb.c util.c
 	src/usr.bin/msgc: msgdb.c msgmain.c
 	src/usr.bin/rpcgen: rpc_clntout.c rpc_cout.c rpc_hout.c rpc_main.c
 	    rpc_parse.c rpc_sample.c rpc_scan.c rpc_svcout.c rpc_tblout.c
 	    rpc_util.c
 	src/usr.bin/stat: stat.c
 	src/usr.bin/xinstall: xinstall.c
 	src/usr.bin/xlint/common: emit.c inittyp.c mem.c
 	src/usr.bin/xlint/lint1: decl.c emit1.c err.c func.c init.c main1.c
 	    mem1.c tree.c
 	src/usr.bin/xlint/lint2: chk.c hash.c main2.c mem2.c msg.c read.c
 	src/usr.bin/xlint/xlint: xlint.c
 	src/usr.bin/yacc: main.c
 	src/usr.sbin/config: files.c hash.c main.c mkdevsw.c mkheaders.c
 	    mkioconf.c mkmakefile.c mkswap.c pack.c sem.c util.c
 	src/usr.sbin/installboot: ffs.c fstypes.c installboot.c machines.c
 	    sum.c
 	src/usr.sbin/installboot/arch: amiga.c i386.c next68k.c sparc64.c
 	src/usr.sbin/makefs: ffs.c makefs.c makefs.h walk.c
 	src/usr.sbin/makefs/ffs: buf.c ffs_alloc.c ffs_balloc.c mkfs.c
 	    ufs_bmap.c
 	src/usr.sbin/mtree: compare.c crc.c create.c excludes.c getid.c misc.c
 	    mtree.c spec.c verify.c
 	src/usr.sbin/pwd_mkdb: pwd_mkdb.c
 Added Files:
 	src/tools/compat: compat_getopt.h

 Log Message:
 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.40 -r1.41 src/bin/pax/ar_io.c
 cvs rdiff -r1.46 -r1.47 src/bin/pax/file_subs.c
 cvs rdiff -r1.30 -r1.31 src/bin/pax/ftree.c
 cvs rdiff -r1.19 -r1.20 src/bin/pax/getoldopt.c
 cvs rdiff -r1.75 -r1.76 src/bin/pax/options.c
 cvs rdiff -r1.34 -r1.35 src/bin/pax/pax.c
 cvs rdiff -r1.5 -r1.6 src/include/getopt.h
 cvs rdiff -r1.17 -r1.18 src/include/glob.h
 cvs rdiff -r1.32 -r1.33 src/include/pwd.h
 cvs rdiff -r1.10 -r1.11 src/lib/libc/db/btree/bt_conv.c \
     src/lib/libc/db/btree/bt_debug.c
 cvs rdiff -r1.9 -r1.10 src/lib/libc/db/btree/bt_utils.c
 cvs rdiff -r1.17 -r1.18 src/lib/libc/db/hash/hash_bigkey.c
 cvs rdiff -r1.10 -r1.11 src/lib/libc/db/hash/hash_buf.c
 cvs rdiff -r1.9 -r1.10 src/lib/libc/db/hash/hash_func.c
 cvs rdiff -r1.8 -r1.9 src/lib/libc/db/hash/hash_log2.c
 cvs rdiff -r1.9 -r1.10 src/lib/libc/db/recno/rec_utils.c
 cvs rdiff -r1.42 -r1.43 src/lib/libc/gen/__fts13.c
 cvs rdiff -r1.28 -r1.29 src/lib/libc/gen/pwcache.c
 cvs rdiff -r1.4 -r1.5 src/lib/libc/stdio/fparseln.c
 cvs rdiff -r1.16 -r1.17 src/lib/libc/stdlib/getopt_long.c
 cvs rdiff -r1.15 -r1.16 src/lib/libc/string/strmode.c
 cvs rdiff -r1.33 -r1.34 src/sbin/mknod/mknod.c
 cvs rdiff -r1.43 -r1.44 src/share/mk/bsd.hostprog.mk
 cvs rdiff -r1.30 -r1.31 src/tools/compat/Makefile
 cvs rdiff -r1.38 -r1.39 src/tools/compat/compat_defs.h
 cvs rdiff -r0 -r1.1 src/tools/compat/compat_getopt.h
 cvs rdiff -r1.44 -r1.45 src/tools/compat/configure
 cvs rdiff -r1.43 -r1.44 src/tools/compat/configure.ac
 cvs rdiff -r1.8 -r1.9 src/tools/compat/defs.mk.in
 cvs rdiff -r1.3 -r1.4 src/tools/compat/nbtool_config.h.in
 cvs rdiff -r1.19 -r1.20 src/usr.bin/cksum/cksum.c
 cvs rdiff -r1.14 -r1.15 src/usr.bin/cksum/crc.c
 cvs rdiff -r1.4 -r1.5 src/usr.bin/cksum/md5.c
 cvs rdiff -r1.9 -r1.10 src/usr.bin/cksum/print.c
 cvs rdiff -r1.10 -r1.11 src/usr.bin/cksum/sum1.c src/usr.bin/cksum/sum2.c
 cvs rdiff -r1.10 -r1.11 src/usr.bin/ctags/C.c
 cvs rdiff -r1.9 -r1.10 src/usr.bin/ctags/ctags.c src/usr.bin/ctags/tree.c
 cvs rdiff -r1.8 -r1.9 src/usr.bin/ctags/fortran.c src/usr.bin/ctags/lisp.c \
     src/usr.bin/ctags/yacc.c
 cvs rdiff -r1.7 -r1.8 src/usr.bin/ctags/print.c
 cvs rdiff -r1.17 -r1.18 src/usr.bin/m4/eval.c
 cvs rdiff -r1.15 -r1.16 src/usr.bin/m4/expr.c
 cvs rdiff -r1.3 -r1.4 src/usr.bin/m4/gnum4.c
 cvs rdiff -r1.9 -r1.10 src/usr.bin/m4/look.c
 cvs rdiff -r1.34 -r1.35 src/usr.bin/m4/main.c
 cvs rdiff -r1.16 -r1.17 src/usr.bin/m4/misc.c
 cvs rdiff -r1.4 -r1.5 src/usr.bin/m4/trace.c
 cvs rdiff -r1.5 -r1.6 src/usr.bin/menuc/avl.c
 cvs rdiff -r1.9 -r1.10 src/usr.bin/menuc/main.c
 cvs rdiff -r1.39 -r1.40 src/usr.bin/menuc/mdb.c
 cvs rdiff -r1.3 -r1.4 src/usr.bin/menuc/util.c
 cvs rdiff -r1.19 -r1.20 src/usr.bin/msgc/msgdb.c
 cvs rdiff -r1.6 -r1.7 src/usr.bin/msgc/msgmain.c
 cvs rdiff -r1.12 -r1.13 src/usr.bin/rpcgen/rpc_clntout.c \
     src/usr.bin/rpcgen/rpc_parse.c
 cvs rdiff -r1.25 -r1.26 src/usr.bin/rpcgen/rpc_cout.c \
     src/usr.bin/rpcgen/rpc_main.c
 cvs rdiff -r1.19 -r1.20 src/usr.bin/rpcgen/rpc_hout.c
 cvs rdiff -r1.9 -r1.10 src/usr.bin/rpcgen/rpc_sample.c \
     src/usr.bin/rpcgen/rpc_util.c
 cvs rdiff -r1.8 -r1.9 src/usr.bin/rpcgen/rpc_scan.c
 cvs rdiff -r1.21 -r1.22 src/usr.bin/rpcgen/rpc_svcout.c
 cvs rdiff -r1.10 -r1.11 src/usr.bin/rpcgen/rpc_tblout.c
 cvs rdiff -r1.18 -r1.19 src/usr.bin/stat/stat.c
 cvs rdiff -r1.86 -r1.87 src/usr.bin/xinstall/xinstall.c
 cvs rdiff -r1.3 -r1.4 src/usr.bin/xlint/common/emit.c
 cvs rdiff -r1.5 -r1.6 src/usr.bin/xlint/common/inittyp.c
 cvs rdiff -r1.6 -r1.7 src/usr.bin/xlint/common/mem.c
 cvs rdiff -r1.32 -r1.33 src/usr.bin/xlint/lint1/decl.c
 cvs rdiff -r1.13 -r1.14 src/usr.bin/xlint/lint1/emit1.c
 cvs rdiff -r1.26 -r1.27 src/usr.bin/xlint/lint1/err.c
 cvs rdiff -r1.20 -r1.21 src/usr.bin/xlint/lint1/func.c
 cvs rdiff -r1.17 -r1.18 src/usr.bin/xlint/lint1/init.c
 cvs rdiff -r1.14 -r1.15 src/usr.bin/xlint/lint1/main1.c
 cvs rdiff -r1.10 -r1.11 src/usr.bin/xlint/lint1/mem1.c
 cvs rdiff -r1.36 -r1.37 src/usr.bin/xlint/lint1/tree.c
 cvs rdiff -r1.16 -r1.17 src/usr.bin/xlint/lint2/chk.c
 cvs rdiff -r1.8 -r1.9 src/usr.bin/xlint/lint2/hash.c \
     src/usr.bin/xlint/lint2/mem2.c
 cvs rdiff -r1.6 -r1.7 src/usr.bin/xlint/lint2/main2.c
 cvs rdiff -r1.7 -r1.8 src/usr.bin/xlint/lint2/msg.c
 cvs rdiff -r1.13 -r1.14 src/usr.bin/xlint/lint2/read.c
 cvs rdiff -r1.34 -r1.35 src/usr.bin/xlint/xlint/xlint.c
 cvs rdiff -r1.14 -r1.15 src/usr.bin/yacc/main.c
 cvs rdiff -r1.23 -r1.24 src/usr.sbin/config/files.c
 cvs rdiff -r1.13 -r1.14 src/usr.sbin/config/hash.c
 cvs rdiff -r1.93 -r1.94 src/usr.sbin/config/main.c
 cvs rdiff -r1.4 -r1.5 src/usr.sbin/config/mkdevsw.c
 cvs rdiff -r1.35 -r1.36 src/usr.sbin/config/mkheaders.c
 cvs rdiff -r1.72 -r1.73 src/usr.sbin/config/mkioconf.c
 cvs rdiff -r1.61 -r1.62 src/usr.sbin/config/mkmakefile.c
 cvs rdiff -r1.16 -r1.17 src/usr.sbin/config/mkswap.c
 cvs rdiff -r1.15 -r1.16 src/usr.sbin/config/pack.c
 cvs rdiff -r1.42 -r1.43 src/usr.sbin/config/sem.c
 cvs rdiff -r1.20 -r1.21 src/usr.sbin/config/util.c
 cvs rdiff -r1.14 -r1.15 src/usr.sbin/installboot/ffs.c
 cvs rdiff -r1.6 -r1.7 src/usr.sbin/installboot/fstypes.c
 cvs rdiff -r1.15 -r1.16 src/usr.sbin/installboot/installboot.c
 cvs rdiff -r1.23 -r1.24 src/usr.sbin/installboot/machines.c
 cvs rdiff -r1.2 -r1.3 src/usr.sbin/installboot/sum.c
 cvs rdiff -r1.2 -r1.3 src/usr.sbin/installboot/arch/amiga.c \
     src/usr.sbin/installboot/arch/next68k.c
 cvs rdiff -r1.15 -r1.16 src/usr.sbin/installboot/arch/i386.c
 cvs rdiff -r1.13 -r1.14 src/usr.sbin/installboot/arch/sparc64.c
 cvs rdiff -r1.28 -r1.29 src/usr.sbin/makefs/ffs.c
 cvs rdiff -r1.19 -r1.20 src/usr.sbin/makefs/makefs.c
 cvs rdiff -r1.13 -r1.14 src/usr.sbin/makefs/makefs.h
 cvs rdiff -r1.16 -r1.17 src/usr.sbin/makefs/walk.c
 cvs rdiff -r1.11 -r1.12 src/usr.sbin/makefs/ffs/buf.c
 cvs rdiff -r1.13 -r1.14 src/usr.sbin/makefs/ffs/ffs_alloc.c \
     src/usr.sbin/makefs/ffs/ufs_bmap.c
 cvs rdiff -r1.12 -r1.13 src/usr.sbin/makefs/ffs/ffs_balloc.c
 cvs rdiff -r1.18 -r1.19 src/usr.sbin/makefs/ffs/mkfs.c
 cvs rdiff -r1.43 -r1.44 src/usr.sbin/mtree/compare.c
 cvs rdiff -r1.5 -r1.6 src/usr.sbin/mtree/crc.c
 cvs rdiff -r1.44 -r1.45 src/usr.sbin/mtree/create.c
 cvs rdiff -r1.12 -r1.13 src/usr.sbin/mtree/excludes.c
 cvs rdiff -r1.4 -r1.5 src/usr.sbin/mtree/getid.c
 cvs rdiff -r1.24 -r1.25 src/usr.sbin/mtree/misc.c
 cvs rdiff -r1.30 -r1.31 src/usr.sbin/mtree/mtree.c
 cvs rdiff -r1.55 -r1.56 src/usr.sbin/mtree/spec.c
 cvs rdiff -r1.36 -r1.37 src/usr.sbin/mtree/verify.c
 cvs rdiff -r1.28 -r1.29 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.


From: Matthias Scheler <tron@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc:  
Subject: pr/17762 CVS commit: [netbsd-2-0] src/usr.sbin/installboot
Date: Tue, 22 Jun 2004 07:15:04 +0000 (UTC)

 Module Name:	src
 Committed By:	tron
 Date:		Tue Jun 22 07:15:04 UTC 2004

 Modified Files:
 	src/usr.sbin/installboot [netbsd-2-0]: sum.c
 	src/usr.sbin/installboot/arch [netbsd-2-0]: amiga.c next68k.c

 Log Message:
 Pull up revision 1.3 (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.2 -r1.2.4.1 src/usr.sbin/installboot/sum.c
 cvs rdiff -r1.2 -r1.2.2.1 src/usr.sbin/installboot/arch/amiga.c \
     src/usr.sbin/installboot/arch/next68k.c

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


From: Matthias Scheler <tron@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc:  
Subject: pr/17762 CVS commit: [netbsd-2-0] src
Date: Tue, 22 Jun 2004 07:15:27 +0000 (UTC)

 Module Name:	src
 Committed By:	tron
 Date:		Tue Jun 22 07:15:27 UTC 2004

 Modified Files:
 	src/lib/libc/db/btree [netbsd-2-0]: bt_utils.c
 	src/lib/libc/db/hash [netbsd-2-0]: hash_func.c
 	src/lib/libc/db/recno [netbsd-2-0]: rec_utils.c
 	src/usr.bin/cksum [netbsd-2-0]: print.c
 	src/usr.bin/ctags [netbsd-2-0]: ctags.c tree.c
 	src/usr.bin/m4 [netbsd-2-0]: look.c
 	src/usr.bin/menuc [netbsd-2-0]: main.c
 	src/usr.bin/rpcgen [netbsd-2-0]: rpc_sample.c rpc_util.c

 Log Message:
 Pull up revision 1.10 (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.9 -r1.9.2.1 src/lib/libc/db/btree/bt_utils.c
 cvs rdiff -r1.9 -r1.9.2.1 src/lib/libc/db/hash/hash_func.c
 cvs rdiff -r1.9 -r1.9.2.1 src/lib/libc/db/recno/rec_utils.c
 cvs rdiff -r1.9 -r1.9.2.1 src/usr.bin/cksum/print.c
 cvs rdiff -r1.9 -r1.9.2.1 src/usr.bin/ctags/ctags.c src/usr.bin/ctags/tree.c
 cvs rdiff -r1.9 -r1.9.2.1 src/usr.bin/m4/look.c
 cvs rdiff -r1.9 -r1.9.2.1 src/usr.bin/menuc/main.c
 cvs rdiff -r1.9 -r1.9.4.1 src/usr.bin/rpcgen/rpc_sample.c \
     src/usr.bin/rpcgen/rpc_util.c

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


From: Matthias Scheler <tron@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc:  
Subject: pr/17762 CVS commit: [netbsd-2-0] src/bin/pax
Date: Tue, 22 Jun 2004 07:15:49 +0000 (UTC)

 Module Name:	src
 Committed By:	tron
 Date:		Tue Jun 22 07:15:49 UTC 2004

 Modified Files:
 	src/bin/pax [netbsd-2-0]: file_subs.c

 Log Message:
 Pull up revision 1.47 (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.41.2.4 -r1.41.2.5 src/bin/pax/file_subs.c

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


From: Matthias Scheler <tron@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc:  
Subject: pr/17762 CVS commit: [netbsd-2-0] src
Date: Tue, 22 Jun 2004 07:16:11 +0000 (UTC)

 Module Name:	src
 Committed By:	tron
 Date:		Tue Jun 22 07:16:11 UTC 2004

 Modified Files:
 	src/tools/compat [netbsd-2-0]: nbtool_config.h.in
 	src/usr.bin/m4 [netbsd-2-0]: gnum4.c
 	src/usr.bin/menuc [netbsd-2-0]: util.c
 	src/usr.bin/xlint/common [netbsd-2-0]: emit.c

 Log Message:
 Pull up revision 1.4 (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.2 -r1.2.2.1 src/tools/compat/nbtool_config.h.in
 cvs rdiff -r1.2 -r1.2.4.1 src/usr.bin/m4/gnum4.c
 cvs rdiff -r1.3 -r1.3.2.1 src/usr.bin/menuc/util.c
 cvs rdiff -r1.3 -r1.3.4.1 src/usr.bin/xlint/common/emit.c

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


From: Matthias Scheler <tron@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc:  
Subject: pr/17762 CVS commit: [netbsd-2-0] src
Date: Tue, 22 Jun 2004 07:16:34 +0000 (UTC)

 Module Name:	src
 Committed By:	tron
 Date:		Tue Jun 22 07:16:34 UTC 2004

 Modified Files:
 	src/lib/libc/db/btree [netbsd-2-0]: bt_conv.c bt_debug.c
 	src/lib/libc/db/hash [netbsd-2-0]: hash_buf.c
 	src/usr.bin/cksum [netbsd-2-0]: sum1.c sum2.c
 	src/usr.bin/ctags [netbsd-2-0]: C.c
 	src/usr.bin/rpcgen [netbsd-2-0]: rpc_tblout.c
 	src/usr.bin/xlint/lint1 [netbsd-2-0]: mem1.c

 Log Message:
 Pull up revision 1.11 (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.10 -r1.10.2.1 src/lib/libc/db/btree/bt_conv.c \
     src/lib/libc/db/btree/bt_debug.c
 cvs rdiff -r1.10 -r1.10.2.1 src/lib/libc/db/hash/hash_buf.c
 cvs rdiff -r1.10 -r1.10.2.1 src/usr.bin/cksum/sum1.c src/usr.bin/cksum/sum2.c
 cvs rdiff -r1.10 -r1.10.2.1 src/usr.bin/ctags/C.c
 cvs rdiff -r1.10 -r1.10.4.1 src/usr.bin/rpcgen/rpc_tblout.c
 cvs rdiff -r1.10 -r1.10.2.1 src/usr.bin/xlint/lint1/mem1.c

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


From: Matthias Scheler <tron@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc:  
Subject: pr/17762 CVS commit: [netbsd-2-0] src/usr.sbin/makefs/ffs
Date: Tue, 22 Jun 2004 07:16:55 +0000 (UTC)

 Module Name:	src
 Committed By:	tron
 Date:		Tue Jun 22 07:16:55 UTC 2004

 Modified Files:
 	src/usr.sbin/makefs/ffs [netbsd-2-0]: buf.c

 Log Message:
 Pull up revision 1.12 (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.11 -r1.11.2.1 src/usr.sbin/makefs/ffs/buf.c

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


From: Matthias Scheler <tron@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc:  
Subject: pr/17762 CVS commit: [netbsd-2-0] src/usr.sbin/config
Date: Tue, 22 Jun 2004 07:17:18 +0000 (UTC)

 Module Name:	src
 Committed By:	tron
 Date:		Tue Jun 22 07:17:18 UTC 2004

 Modified Files:
 	src/usr.sbin/config [netbsd-2-0]: main.c

 Log Message:
 Pull up revision 1.94 (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.88 -r1.88.2.1 src/usr.sbin/config/main.c

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


From: Matthias Scheler <tron@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc:  
Subject: pr/17762 CVS commit: [netbsd-2-0] src
Date: Tue, 22 Jun 2004 07:17:40 +0000 (UTC)

 Module Name:	src
 Committed By:	tron
 Date:		Tue Jun 22 07:17:40 UTC 2004

 Modified Files:
 	src/lib/libc/stdio [netbsd-2-0]: fparseln.c
 	src/usr.bin/cksum [netbsd-2-0]: md5.c
 	src/usr.bin/m4 [netbsd-2-0]: trace.c
 	src/usr.sbin/config [netbsd-2-0]: mkdevsw.c
 	src/usr.sbin/mtree [netbsd-2-0]: getid.c

 Log Message:
 Pull up revision 1.5 (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.2.2.2 -r1.2.2.3 src/lib/libc/stdio/fparseln.c
 cvs rdiff -r1.4 -r1.4.4.1 src/usr.bin/cksum/md5.c
 cvs rdiff -r1.4 -r1.4.4.1 src/usr.bin/m4/trace.c
 cvs rdiff -r1.4 -r1.4.2.1 src/usr.sbin/config/mkdevsw.c
 cvs rdiff -r1.4 -r1.4.2.1 src/usr.sbin/mtree/getid.c

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


From: Matthias Scheler <tron@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc:  
Subject: pr/17762 CVS commit: [netbsd-2-0] src
Date: Tue, 22 Jun 2004 07:18:03 +0000 (UTC)

 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.


From: Matthias Scheler <tron@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc:  
Subject: pr/17762 CVS commit: [netbsd-2-0] src
Date: Tue, 22 Jun 2004 07:18:25 +0000 (UTC)

 Module Name:	src
 Committed By:	tron
 Date:		Tue Jun 22 07:18:25 UTC 2004

 Modified Files:
 	src/include [netbsd-2-0]: getopt.h
 	src/usr.bin/menuc [netbsd-2-0]: avl.c
 	src/usr.bin/xlint/common [netbsd-2-0]: inittyp.c
 	src/usr.sbin/mtree [netbsd-2-0]: crc.c

 Log Message:
 Pull up revision 1.6 (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.5 -r1.5.2.1 src/include/getopt.h
 cvs rdiff -r1.5 -r1.5.2.1 src/usr.bin/menuc/avl.c
 cvs rdiff -r1.5 -r1.5.2.1 src/usr.bin/xlint/common/inittyp.c
 cvs rdiff -r1.5 -r1.5.2.1 src/usr.sbin/mtree/crc.c

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


From: Matthias Scheler <tron@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc:  
Subject: pr/17762 CVS commit: [netbsd-2-0] src
Date: Tue, 22 Jun 2004 07:18:49 +0000 (UTC)

 Module Name:	src
 Committed By:	tron
 Date:		Tue Jun 22 07:18:49 UTC 2004

 Modified Files:
 	src/usr.bin/xlint/lint1 [netbsd-2-0]: emit1.c
 	src/usr.bin/xlint/lint2 [netbsd-2-0]: read.c
 	src/usr.sbin/config [netbsd-2-0]: hash.c
 	src/usr.sbin/installboot/arch [netbsd-2-0]: sparc64.c
 	src/usr.sbin/makefs [netbsd-2-0]: makefs.h
 	src/usr.sbin/makefs/ffs [netbsd-2-0]: ffs_alloc.c ufs_bmap.c

 Log Message:
 Pull up revision 1.14 (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.13 -r1.13.2.1 src/usr.bin/xlint/lint1/emit1.c
 cvs rdiff -r1.13 -r1.13.4.1 src/usr.bin/xlint/lint2/read.c
 cvs rdiff -r1.13 -r1.13.2.1 src/usr.sbin/config/hash.c
 cvs rdiff -r1.13 -r1.13.4.1 src/usr.sbin/installboot/arch/sparc64.c
 cvs rdiff -r1.12 -r1.12.2.1 src/usr.sbin/makefs/makefs.h
 cvs rdiff -r1.13 -r1.13.2.1 src/usr.sbin/makefs/ffs/ffs_alloc.c \
     src/usr.sbin/makefs/ffs/ufs_bmap.c

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


From: Matthias Scheler <tron@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc:  
Subject: pr/17762 CVS commit: [netbsd-2-0] src
Date: Tue, 22 Jun 2004 07:19:12 +0000 (UTC)

 Module Name:	src
 Committed By:	tron
 Date:		Tue Jun 22 07:19:12 UTC 2004

 Modified Files:
 	src/usr.bin/msgc [netbsd-2-0]: msgmain.c
 	src/usr.bin/xlint/common [netbsd-2-0]: mem.c
 	src/usr.bin/xlint/lint2 [netbsd-2-0]: main2.c
 	src/usr.sbin/installboot [netbsd-2-0]: fstypes.c

 Log Message:
 Pull up revision 1.7 (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.6 -r1.6.2.1 src/usr.bin/msgc/msgmain.c
 cvs rdiff -r1.6 -r1.6.2.1 src/usr.bin/xlint/common/mem.c
 cvs rdiff -r1.6 -r1.6.4.1 src/usr.bin/xlint/lint2/main2.c
 cvs rdiff -r1.6 -r1.6.2.1 src/usr.sbin/installboot/fstypes.c

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


From: Matthias Scheler <tron@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc:  
Subject: pr/17762 CVS commit: [netbsd-2-0] src/usr.bin
Date: Tue, 22 Jun 2004 07:19:32 +0000 (UTC)

 Module Name:	src
 Committed By:	tron
 Date:		Tue Jun 22 07:19:32 UTC 2004

 Modified Files:
 	src/usr.bin/ctags [netbsd-2-0]: print.c
 	src/usr.bin/xlint/lint2 [netbsd-2-0]: msg.c

 Log Message:
 Pull up revision 1.8 (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.7 -r1.7.2.1 src/usr.bin/ctags/print.c
 cvs rdiff -r1.7 -r1.7.4.1 src/usr.bin/xlint/lint2/msg.c

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


From: Matthias Scheler <tron@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc:  
Subject: pr/17762 CVS commit: [netbsd-2-0] src
Date: Tue, 22 Jun 2004 07:19:55 +0000 (UTC)

 Module Name:	src
 Committed By:	tron
 Date:		Tue Jun 22 07:19:55 UTC 2004

 Modified Files:
 	src/usr.bin/cksum [netbsd-2-0]: crc.c
 	src/usr.bin/xlint/lint1 [netbsd-2-0]: main1.c
 	src/usr.bin/yacc [netbsd-2-0]: main.c
 	src/usr.sbin/installboot [netbsd-2-0]: ffs.c

 Log Message:
 Pull up revision 1.15 (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.14 -r1.14.2.1 src/usr.bin/cksum/crc.c
 cvs rdiff -r1.14 -r1.14.2.1 src/usr.bin/xlint/lint1/main1.c
 cvs rdiff -r1.14 -r1.14.2.1 src/usr.bin/yacc/main.c
 cvs rdiff -r1.14 -r1.14.2.1 src/usr.sbin/installboot/ffs.c

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


From: Matthias Scheler <tron@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc:  
Subject: pr/17762 CVS commit: [netbsd-2-0] src
Date: Tue, 22 Jun 2004 07:20:19 +0000 (UTC)

 Module Name:	src
 Committed By:	tron
 Date:		Tue Jun 22 07:20:19 UTC 2004

 Modified Files:
 	src/lib/libc/string [netbsd-2-0]: strmode.c
 	src/usr.bin/m4 [netbsd-2-0]: expr.c
 	src/usr.sbin/config [netbsd-2-0]: pack.c
 	src/usr.sbin/installboot [netbsd-2-0]: installboot.c
 	src/usr.sbin/installboot/arch [netbsd-2-0]: i386.c

 Log Message:
 Pull up revision 1.16 (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.15 -r1.15.2.1 src/lib/libc/string/strmode.c
 cvs rdiff -r1.15 -r1.15.2.1 src/usr.bin/m4/expr.c
 cvs rdiff -r1.15 -r1.15.2.1 src/usr.sbin/config/pack.c
 cvs rdiff -r1.15 -r1.15.2.1 src/usr.sbin/installboot/installboot.c
 cvs rdiff -r1.15 -r1.15.2.1 src/usr.sbin/installboot/arch/i386.c

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


From: Matthias Scheler <tron@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc:  
Subject: pr/17762 CVS commit: [netbsd-2-0] src
Date: Tue, 22 Jun 2004 07:20:43 +0000 (UTC)

 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.


From: Matthias Scheler <tron@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc:  
Subject: pr/17762 CVS commit: [netbsd-2-0] src/usr.sbin/config
Date: Tue, 22 Jun 2004 07:21:05 +0000 (UTC)

 Module Name:	src
 Committed By:	tron
 Date:		Tue Jun 22 07:21:04 UTC 2004

 Modified Files:
 	src/usr.sbin/config [netbsd-2-0]: mkmakefile.c

 Log Message:
 Pull up revision 1.62 (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.59 -r1.59.2.1 src/usr.sbin/config/mkmakefile.c

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


From: Matthias Scheler <tron@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc:  
Subject: pr/17762 CVS commit: [netbsd-2-0] src
Date: Tue, 22 Jun 2004 07:21:29 +0000 (UTC)

 Module Name:	src
 Committed By:	tron
 Date:		Tue Jun 22 07:21:29 UTC 2004

 Modified Files:
 	src/lib/libc/stdlib [netbsd-2-0]: getopt_long.c
 	src/usr.bin/m4 [netbsd-2-0]: misc.c
 	src/usr.bin/xlint/lint2 [netbsd-2-0]: chk.c
 	src/usr.sbin/config [netbsd-2-0]: mkswap.c
 	src/usr.sbin/makefs [netbsd-2-0]: walk.c

 Log Message:
 Pull up revision 1.17 (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.16 -r1.16.2.1 src/lib/libc/stdlib/getopt_long.c
 cvs rdiff -r1.16 -r1.16.2.1 src/usr.bin/m4/misc.c
 cvs rdiff -r1.16 -r1.16.4.1 src/usr.bin/xlint/lint2/chk.c
 cvs rdiff -r1.16 -r1.16.2.1 src/usr.sbin/config/mkswap.c
 cvs rdiff -r1.15 -r1.15.2.1 src/usr.sbin/makefs/walk.c

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


From: Matthias Scheler <tron@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc:  
Subject: pr/17762 CVS commit: [netbsd-2-0] src
Date: Tue, 22 Jun 2004 07:21:53 +0000 (UTC)

 Module Name:	src
 Committed By:	tron
 Date:		Tue Jun 22 07:21:53 UTC 2004

 Modified Files:
 	src/include [netbsd-2-0]: glob.h
 	src/lib/libc/db/hash [netbsd-2-0]: hash_bigkey.c
 	src/usr.bin/m4 [netbsd-2-0]: eval.c
 	src/usr.bin/xlint/lint1 [netbsd-2-0]: init.c

 Log Message:
 Pull up revision 1.18 (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.17 -r1.17.2.1 src/include/glob.h
 cvs rdiff -r1.17 -r1.17.2.1 src/lib/libc/db/hash/hash_bigkey.c
 cvs rdiff -r1.17 -r1.17.2.1 src/usr.bin/m4/eval.c
 cvs rdiff -r1.17 -r1.17.2.1 src/usr.bin/xlint/lint1/init.c

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


From: Matthias Scheler <tron@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc:  
Subject: pr/17762 CVS commit: [netbsd-2-0] src
Date: Tue, 22 Jun 2004 07:22:16 +0000 (UTC)

 Module Name:	src
 Committed By:	tron
 Date:		Tue Jun 22 07:22:16 UTC 2004

 Modified Files:
 	src/usr.bin/stat [netbsd-2-0]: stat.c
 	src/usr.sbin/makefs/ffs [netbsd-2-0]: mkfs.c

 Log Message:
 Pull up revision 1.19 (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.17.2.1 -r1.17.2.2 src/usr.bin/stat/stat.c
 cvs rdiff -r1.18 -r1.18.2.1 src/usr.sbin/makefs/ffs/mkfs.c

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


From: Matthias Scheler <tron@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc:  
Subject: pr/17762 CVS commit: [netbsd-2-0] src
Date: Tue, 22 Jun 2004 07:22:39 +0000 (UTC)

 Module Name:	src
 Committed By:	tron
 Date:		Tue Jun 22 07:22:39 UTC 2004

 Modified Files:
 	src/bin/pax [netbsd-2-0]: ftree.c
 	src/tools/compat [netbsd-2-0]: Makefile
 	src/usr.sbin/mtree [netbsd-2-0]: mtree.c

 Log Message:
 Pull up revision 1.31 (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.29 -r1.29.2.1 src/bin/pax/ftree.c
 cvs rdiff -r1.28 -r1.28.2.1 src/tools/compat/Makefile
 cvs rdiff -r1.30 -r1.30.2.1 src/usr.sbin/mtree/mtree.c

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


From: Matthias Scheler <tron@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc:  
Subject: pr/17762 CVS commit: [netbsd-2-0] src
Date: Tue, 22 Jun 2004 07:23:03 +0000 (UTC)

 Module Name:	src
 Committed By:	tron
 Date:		Tue Jun 22 07:23:03 UTC 2004

 Modified Files:
 	src/include [netbsd-2-0]: pwd.h
 	src/usr.bin/xlint/lint1 [netbsd-2-0]: decl.c

 Log Message:
 Pull up revision 1.33 (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.32 -r1.32.2.1 src/include/pwd.h
 cvs rdiff -r1.32 -r1.32.2.1 src/usr.bin/xlint/lint1/decl.c

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


From: Matthias Scheler <tron@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc:  
Subject: pr/17762 CVS commit: [netbsd-2-0] src
Date: Tue, 22 Jun 2004 07:23:26 +0000 (UTC)

 Module Name:	src
 Committed By:	tron
 Date:		Tue Jun 22 07:23:26 UTC 2004

 Modified Files:
 	src/bin/pax [netbsd-2-0]: pax.c
 	src/usr.bin/m4 [netbsd-2-0]: main.c
 	src/usr.bin/xlint/xlint [netbsd-2-0]: xlint.c

 Log Message:
 Pull up revision 1.35 (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.33 -r1.33.2.1 src/bin/pax/pax.c
 cvs rdiff -r1.34 -r1.34.2.1 src/usr.bin/m4/main.c
 cvs rdiff -r1.34 -r1.34.2.1 src/usr.bin/xlint/xlint/xlint.c

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


From: Matthias Scheler <tron@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc:  
Subject: pr/17762 CVS commit: [netbsd-2-0] src/usr.sbin/config
Date: Tue, 22 Jun 2004 07:23:47 +0000 (UTC)

 Module Name:	src
 Committed By:	tron
 Date:		Tue Jun 22 07:23:47 UTC 2004

 Modified Files:
 	src/usr.sbin/config [netbsd-2-0]: mkheaders.c

 Log Message:
 Pull up revision 1.36 (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.35 -r1.35.2.1 src/usr.sbin/config/mkheaders.c

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


From: Matthias Scheler <tron@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc:  
Subject: pr/17762 CVS commit: [netbsd-2-0] src
Date: Tue, 22 Jun 2004 07:24:12 +0000 (UTC)

 Module Name:	src
 Committed By:	tron
 Date:		Tue Jun 22 07:24:12 UTC 2004

 Modified Files:
 	src/usr.bin/xlint/lint1 [netbsd-2-0]: tree.c
 	src/usr.sbin/mtree [netbsd-2-0]: verify.c

 Log Message:
 Pull up revision 1.37 (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.36 -r1.36.2.1 src/usr.bin/xlint/lint1/tree.c
 cvs rdiff -r1.36 -r1.36.2.1 src/usr.sbin/mtree/verify.c

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


From: Matthias Scheler <tron@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc:  
Subject: pr/17762 CVS commit: [netbsd-2-0] src/tools/compat
Date: Tue, 22 Jun 2004 07:24:33 +0000 (UTC)

 Module Name:	src
 Committed By:	tron
 Date:		Tue Jun 22 07:24:33 UTC 2004

 Modified Files:
 	src/tools/compat [netbsd-2-0]: compat_defs.h

 Log Message:
 Pull up revision 1.39 via patch (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.31.2.1 -r1.31.2.2 src/tools/compat/compat_defs.h

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


From: Matthias Scheler <tron@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc:  
Subject: pr/17762 CVS commit: [netbsd-2-0] src/usr.sbin/mtree
Date: Tue, 22 Jun 2004 07:25:17 +0000 (UTC)

 Module Name:	src
 Committed By:	tron
 Date:		Tue Jun 22 07:25:17 UTC 2004

 Modified Files:
 	src/usr.sbin/mtree [netbsd-2-0]: spec.c

 Log Message:
 Pull up revision 1.56 (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.54 -r1.54.2.1 src/usr.sbin/mtree/spec.c

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


From: Matthias Scheler <tron@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc:  
Subject: pr/17762 CVS commit: [netbsd-2-0] src/usr.bin/xinstall
Date: Tue, 22 Jun 2004 07:24:56 +0000 (UTC)

 Module Name:	src
 Committed By:	tron
 Date:		Tue Jun 22 07:24:56 UTC 2004

 Modified Files:
 	src/usr.bin/xinstall [netbsd-2-0]: xinstall.c

 Log Message:
 Pull up revision 1.87 (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.86 -r1.86.2.1 src/usr.bin/xinstall/xinstall.c

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


From: Matthias Scheler <tron@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc:  
Subject: pr/17762 CVS commit: [netbsd-2-0] src
Date: Tue, 22 Jun 2004 07:25:39 +0000 (UTC)

 Module Name:	src
 Committed By:	tron
 Date:		Tue Jun 22 07:25:39 UTC 2004

 Modified Files:
 	src/bin/pax [netbsd-2-0]: getoldopt.c
 	src/usr.bin/cksum [netbsd-2-0]: cksum.c
 	src/usr.bin/msgc [netbsd-2-0]: msgdb.c
 	src/usr.bin/rpcgen [netbsd-2-0]: rpc_hout.c
 	src/usr.sbin/makefs [netbsd-2-0]: makefs.c

 Log Message:
 Pull up revision 1.20 (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.19 -r1.19.2.1 src/bin/pax/getoldopt.c
 cvs rdiff -r1.19 -r1.19.2.1 src/usr.bin/cksum/cksum.c
 cvs rdiff -r1.19 -r1.19.2.1 src/usr.bin/msgc/msgdb.c
 cvs rdiff -r1.19 -r1.19.2.1 src/usr.bin/rpcgen/rpc_hout.c
 cvs rdiff -r1.19 -r1.19.2.1 src/usr.sbin/makefs/makefs.c

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


From: Matthias Scheler <tron@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc:  
Subject: pr/17762 CVS commit: [netbsd-2-0] src
Date: Tue, 22 Jun 2004 07:26:01 +0000 (UTC)

 Module Name:	src
 Committed By:	tron
 Date:		Tue Jun 22 07:26:01 UTC 2004

 Modified Files:
 	src/usr.bin/xlint/lint1 [netbsd-2-0]: func.c
 	src/usr.sbin/config [netbsd-2-0]: util.c

 Log Message:
 Pull up revision 1.21 (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.20 -r1.20.2.1 src/usr.bin/xlint/lint1/func.c
 cvs rdiff -r1.20 -r1.20.2.1 src/usr.sbin/config/util.c

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


From: Matthias Scheler <tron@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc:  
Subject: pr/17762 CVS commit: [netbsd-2-0] src/usr.bin/rpcgen
Date: Tue, 22 Jun 2004 07:26:23 +0000 (UTC)

 Module Name:	src
 Committed By:	tron
 Date:		Tue Jun 22 07:26:23 UTC 2004

 Modified Files:
 	src/usr.bin/rpcgen [netbsd-2-0]: rpc_svcout.c

 Log Message:
 Pull up revision 1.22 (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.21 -r1.21.2.1 src/usr.bin/rpcgen/rpc_svcout.c

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


From: Matthias Scheler <tron@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc:  
Subject: pr/17762 CVS commit: [netbsd-2-0] src/usr.sbin
Date: Tue, 22 Jun 2004 07:26:45 +0000 (UTC)

 Module Name:	src
 Committed By:	tron
 Date:		Tue Jun 22 07:26:45 UTC 2004

 Modified Files:
 	src/usr.sbin/config [netbsd-2-0]: files.c
 	src/usr.sbin/installboot [netbsd-2-0]: machines.c

 Log Message:
 Pull up revision 1.24 (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.23 -r1.23.2.1 src/usr.sbin/config/files.c
 cvs rdiff -r1.23 -r1.23.2.1 src/usr.sbin/installboot/machines.c

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


From: Matthias Scheler <tron@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc:  
Subject: pr/17762 CVS commit: [netbsd-2-0] src/usr.bin/rpcgen
Date: Tue, 22 Jun 2004 07:27:28 +0000 (UTC)

 Module Name:	src
 Committed By:	tron
 Date:		Tue Jun 22 07:27:28 UTC 2004

 Modified Files:
 	src/usr.bin/rpcgen [netbsd-2-0]: rpc_cout.c rpc_main.c

 Log Message:
 Pull up revision 1.26 (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.25 -r1.25.2.1 src/usr.bin/rpcgen/rpc_cout.c
 cvs rdiff -r1.24.2.1 -r1.24.2.2 src/usr.bin/rpcgen/rpc_main.c

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


From: Matthias Scheler <tron@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc:  
Subject: pr/17762 CVS commit: [netbsd-2-0] src/usr.sbin/mtree
Date: Tue, 22 Jun 2004 07:27:05 +0000 (UTC)

 Module Name:	src
 Committed By:	tron
 Date:		Tue Jun 22 07:27:05 UTC 2004

 Modified Files:
 	src/usr.sbin/mtree [netbsd-2-0]: misc.c

 Log Message:
 Pull up revision 1.25 (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.24 -r1.24.2.1 src/usr.sbin/mtree/misc.c

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


From: Matthias Scheler <tron@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc:  
Subject: pr/17762 CVS commit: [netbsd-2-0] src/usr.bin/xlint/lint1
Date: Tue, 22 Jun 2004 07:27:50 +0000 (UTC)

 Module Name:	src
 Committed By:	tron
 Date:		Tue Jun 22 07:27:50 UTC 2004

 Modified Files:
 	src/usr.bin/xlint/lint1 [netbsd-2-0]: err.c

 Log Message:
 Pull up revision 1.27 (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.26 -r1.26.2.1 src/usr.bin/xlint/lint1/err.c

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


From: Matthias Scheler <tron@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc:  
Subject: pr/17762 CVS commit: [netbsd-2-0] src/usr.sbin/config
Date: Tue, 22 Jun 2004 07:28:12 +0000 (UTC)

 Module Name:	src
 Committed By:	tron
 Date:		Tue Jun 22 07:28:12 UTC 2004

 Modified Files:
 	src/usr.sbin/config [netbsd-2-0]: mkioconf.c

 Log Message:
 Pull up revision 1.73 (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.72 -r1.72.2.1 src/usr.sbin/config/mkioconf.c

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


From: Matthias Scheler <tron@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc:  
Subject: pr/17762 CVS commit: [netbsd-2-0] src
Date: Tue, 22 Jun 2004 07:28:36 +0000 (UTC)

 Module Name:	src
 Committed By:	tron
 Date:		Tue Jun 22 07:28:36 UTC 2004

 Modified Files:
 	src/lib/libc/gen [netbsd-2-0]: pwcache.c
 	src/usr.sbin/makefs [netbsd-2-0]: ffs.c
 	src/usr.sbin/pwd_mkdb [netbsd-2-0]: pwd_mkdb.c

 Log Message:
 Pull up revision 1.29 (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.25 -r1.25.2.1 src/lib/libc/gen/pwcache.c
 cvs rdiff -r1.25.2.1 -r1.25.2.2 src/usr.sbin/makefs/ffs.c
 cvs rdiff -r1.28 -r1.28.2.1 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.


From: Matthias Scheler <tron@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc:  
Subject: pr/17762 CVS commit: [netbsd-2-0] src/bin/pax
Date: Tue, 22 Jun 2004 07:28:58 +0000 (UTC)

 Module Name:	src
 Committed By:	tron
 Date:		Tue Jun 22 07:28:58 UTC 2004

 Modified Files:
 	src/bin/pax [netbsd-2-0]: options.c

 Log Message:
 Pull up revision 1.76 (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.73 -r1.73.2.1 src/bin/pax/options.c

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


From: Matthias Scheler <tron@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc:  
Subject: pr/17762 CVS commit: [netbsd-2-0] src/usr.bin/menuc
Date: Tue, 22 Jun 2004 07:29:20 +0000 (UTC)

 Module Name:	src
 Committed By:	tron
 Date:		Tue Jun 22 07:29:20 UTC 2004

 Modified Files:
 	src/usr.bin/menuc [netbsd-2-0]: mdb.c

 Log Message:
 Pull up revision 1.40 (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.39 -r1.39.2.1 src/usr.bin/menuc/mdb.c

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


From: Matthias Scheler <tron@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc:  
Subject: pr/17762 CVS commit: [netbsd-2-0] src/bin/pax
Date: Tue, 22 Jun 2004 07:29:43 +0000 (UTC)

 Module Name:	src
 Committed By:	tron
 Date:		Tue Jun 22 07:29:43 UTC 2004

 Modified Files:
 	src/bin/pax [netbsd-2-0]: ar_io.c

 Log Message:
 Pull up revision 1.41 (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.39 -r1.39.2.1 src/bin/pax/ar_io.c

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


From: Matthias Scheler <tron@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc:  
Subject: pr/17762 CVS commit: [netbsd-2-0] src
Date: Tue, 22 Jun 2004 07:30:06 +0000 (UTC)

 Module Name:	src
 Committed By:	tron
 Date:		Tue Jun 22 07:30:06 UTC 2004

 Modified Files:
 	src/lib/libc/gen [netbsd-2-0]: __fts13.c
 	src/usr.sbin/config [netbsd-2-0]: sem.c

 Log Message:
 Pull up revision 1.43 (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.42 -r1.42.2.1 src/lib/libc/gen/__fts13.c
 cvs rdiff -r1.41 -r1.41.2.1 src/usr.sbin/config/sem.c

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


From: Matthias Scheler <tron@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc:  
Subject: pr/17762 CVS commit: [netbsd-2-0] src
Date: Tue, 22 Jun 2004 07:30:28 +0000 (UTC)

 Module Name:	src
 Committed By:	tron
 Date:		Tue Jun 22 07:30:28 UTC 2004

 Modified Files:
 	src/share/mk [netbsd-2-0]: bsd.hostprog.mk
 	src/tools/compat [netbsd-2-0]: configure.ac
 	src/usr.sbin/mtree [netbsd-2-0]: compare.c

 Log Message:
 Pull up revision 1.44 (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.41.2.1 -r1.41.2.2 src/share/mk/bsd.hostprog.mk
 cvs rdiff -r1.42 -r1.42.2.1 src/tools/compat/configure.ac
 cvs rdiff -r1.43 -r1.43.2.1 src/usr.sbin/mtree/compare.c

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


From: Matthias Scheler <tron@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc:  
Subject: pr/17762 CVS commit: [netbsd-2-0] src
Date: Tue, 22 Jun 2004 07:30:57 +0000 (UTC)

 Module Name:	src
 Committed By:	tron
 Date:		Tue Jun 22 07:30:57 UTC 2004

 Modified Files:
 	src/tools/compat [netbsd-2-0]: configure
 	src/usr.sbin/mtree [netbsd-2-0]: create.c

 Log Message:
 Pull up revision 1.45 (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.43 -r1.43.2.1 src/tools/compat/configure
 cvs rdiff -r1.44 -r1.44.2.1 src/usr.sbin/mtree/create.c

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


From: Matthias Scheler <tron@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc:  
Subject: pr/17762 CVS commit: [netbsd-2-0] src/tools/compat
Date: Tue, 22 Jun 2004 07:31:16 +0000 (UTC)

 Module Name:	src
 Committed By:	tron
 Date:		Tue Jun 22 07:31:16 UTC 2004

 Added Files:
 	src/tools/compat [netbsd-2-0]: compat_getopt.h

 Log Message:
 Pull up revision 1.1 (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 -r0 -r1.1.2.1 src/tools/compat/compat_getopt.h

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

>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.51 2026/08/10 02:28:17 riastradh Exp $
$NetBSD: gnats_config.sh,v 1.10 2026/05/13 22:00:09 riastradh Exp $
Copyright © 1994-2026 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.