freebsd-skq/bin
markm 0b0ae8e16e 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 We have to hide copyright[] for gcc33. :-( 2003-04-30 17:40:28 +00:00
chflags Only call chflags() on directories once. 2004-02-18 18:45:11 +00:00
chio Quiet warnings about copyright[]. 2003-05-01 16:58:57 +00:00
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 Quiet warnings about copyright[]. 2003-05-01 16:58:57 +00:00
echo - Check and report write(2) errors. 2003-10-11 20:34:43 +00:00
ed Don't check for the existance of src/crypto/ for building items that 2003-07-24 18:30:25 +00:00
expr Get this area compiling with the highest WARNS= that it works with. 2003-06-13 07:04:02 +00:00
getfacl Grammar. 2003-02-23 01:43:45 +00:00
hostname Quiet warnings about copyright[]. 2003-05-01 16:58:57 +00:00
kenv Get this area compiling with the highest WARNS= that it works with. 2003-06-13 07:04:02 +00:00
kill Use sys_nsig instead of the static NSIG. DragonflyBSD kill.c:1.3 2004-01-28 19:04:14 +00:00
ln Quiet warnings about copyright[]. 2003-05-01 16:58:57 +00:00
ls Fixes to output of ls -lh for certain file sizes: 2004-03-01 19:25:27 +00:00
mkdir Quiet warnings about copyright[]. 2003-05-01 16:58:57 +00:00
mv Centralize _PATH_* definitions. 2003-05-05 22:49:23 +00:00
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 Rename a local variable in order to avoid collision with standard 'log' 2003-06-30 17:05:40 +00:00
rcp Turn malloc+snprintf into asnprintf. 2003-10-14 20:42:13 +00:00
realpath realpath(3) should use PATH_MAX instead of MAXPATHLEN according to POSIX. 2003-01-15 21:22:55 +00:00
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 Quiet warnings about copyright[]. 2003-05-01 16:58:57 +00:00
setfacl Add additional documentation to setfacl(1) regarding the behavior of 2003-08-07 14:52:17 +00:00
sh style.Makefile: 2004-02-23 20:05:14 +00:00
sleep Fix warnings. This is now WARNS=9, std=c99 clean in i386. 2003-05-03 10:14:26 +00:00
stty Fix format warning. This is WARNS=9, std=c99 clean on i386. 2003-05-03 10:16:51 +00:00
sync Quiet warnings about copyright[]. 2003-05-01 16:58:57 +00:00
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