freebsd-dev/bin
Mark Murray 16fc3635f7 Make NULL a (void*)0 whereever possible, and fix the warnings(-Werror)
that this provokes. "Wherever possible" means "In the kernel OR NOT
C++" (implying C).

There are places where (void *) pointers are not valid, such as for
function pointers, but in the special case of (void *)0, agreement
settles on it being OK.

Most of the fixes were NULL where an integer zero was needed; many
of the fixes were NULL where ascii <nul> ('\0') was needed, and a
few were just "other".

Tested on: i386 sparc64
2004-03-05 08:10:19 +00:00
..
cat
chflags Only call chflags() on directories once. 2004-02-18 18:45:11 +00:00
chio
chmod Print unambiguous paths with -R -v. 2003-12-16 15:17:30 +00:00
cp Don't mmap(2) and munmap(2) zero-length files. 2003-11-13 05:26:55 +00:00
csh style.Makefile: 2004-02-23 20:05:14 +00:00
date Rev. 1.32 moved a comment to the wrong line. The hack refered to 2004-03-04 15:46:14 +00:00
dd Get this area compiling with the highest WARNS= that it works with. 2003-06-13 07:04:02 +00:00
df Make NULL a (void*)0 whereever possible, and fix the warnings(-Werror) 2004-03-05 08:10:19 +00:00
domainname
echo - Check and report write(2) errors. 2003-10-11 20:34:43 +00:00
ed
expr
getfacl
hostname
kenv
kill Use sys_nsig instead of the static NSIG. DragonflyBSD kill.c:1.3 2004-01-28 19:04:14 +00:00
ln
ls Fixes to output of ls -lh for certain file sizes: 2004-03-01 19:25:27 +00:00
mkdir
mv
pax Make NULL a (void*)0 whereever possible, and fix the warnings(-Werror) 2004-03-05 08:10:19 +00:00
ps style.Makefile: 2004-02-23 20:05:14 +00:00
pwd
rcp Turn malloc+snprintf into asnprintf. 2003-10-14 20:42:13 +00:00
realpath
rm o Fix a style bug and poor wording in comment. 2004-01-01 10:26:43 +00:00
rmail style.Makefile: 2004-02-23 20:05:14 +00:00
rmdir
setfacl
sh style.Makefile: 2004-02-23 20:05:14 +00:00
sleep
stty
sync
test Don't escape names in MLINKS: this won't work with bsd.man.mk,v 1.53. 2003-09-07 12:52:17 +00:00
uuidgen The uuidgen(1) program is WARNS=6 clean, so flag it as such. 2003-12-07 21:34:56 +00:00
Makefile - Build things in pure dictionary order (see sort(1)). 2004-01-16 15:23:19 +00:00
Makefile.inc Force a staticly linked /bin and /sbin for ia64. The necessary changes 2003-11-19 16:59:00 +00:00