NetBSD/usr.bin
rillig 7c1ae9cea7 make(1): clean up code in make.c
Var_Subst never returns NULL.

In Main_ExportMAKEFLAGS, don't compare ints with booleans.

In MainParseArgs, use char for the current character.  First, that's
more precise and correct, and second, it makes debugging easier for
those who don't know the ASCII table by heart.
2020-08-29 07:13:17 +00:00
..
apply Be more precise. 2016-03-14 09:53:37 +00:00
apropos
asa new sentence, new line 2020-01-31 00:15:38 +00:00
at PR bin/53986 from Christian Weisgerber 2019-02-16 17:56:57 +00:00
audio audioplay.1: generalize a reference to web browsers 2020-04-10 21:33:27 +00:00
audiocfg Revert about index number changes. It breaks its usage and output format. 2019-08-24 07:39:42 +00:00
banner Add history section 2020-04-07 17:57:33 +00:00
base64 Use fout, fin (Mustafa Dogan) 2020-08-14 13:40:25 +00:00
basename compare pointers with NULL not '\0'. 2019-02-01 08:29:03 +00:00
bdes Remove workaround for ancient HTML generation code. 2017-07-03 21:28:48 +00:00
biff Update SYNOPSIS to reflect that y and n options are mutually exclusive. 2016-12-20 08:21:32 +00:00
bthset use correct offset for channel in SDP record 2016-03-06 21:12:07 +00:00
btkey Update for proplib(3) API changes. 2020-06-07 00:12:00 +00:00
btpin introduce some common variables for use in GCC warning disables: 2019-10-13 07:28:04 +00:00
bzip2
bzip2recover
c11 Minor improvements, add more markup. 2016-10-03 08:20:12 +00:00
c89 this are our's not gnu 2016-01-14 04:27:26 +00:00
c99 this are our's not gnu 2016-01-14 04:27:26 +00:00
cal Use two-letter weekday abbreviations in the heading 2020-06-29 14:01:14 +00:00
calendar Add Quake's birthday 2020-06-22 13:20:15 +00:00
cap_mkdb
cdplay more stray \n 2015-06-17 00:01:59 +00:00
checknr
chflags
chpass Specify SANITIZER_RENAME_SYMBOL in chpass 2018-06-25 18:05:25 +00:00
cksum Explicitly cast the number of bytes passed to crc_buf() to size_t, as 2020-04-27 07:30:54 +00:00
cleantags
cmp Remove workaround for ancient HTML generation code. 2017-07-03 21:28:48 +00:00
col PR/49291: Henning Petersen: Problem with half-line feeds in input stream. 2014-10-18 14:56:14 +00:00
colcrt - add or adjust /* FALLTHROUGH */ where appropriate 2019-02-03 03:19:25 +00:00
colrm
column Whitespace nit. 2020-08-27 01:52:04 +00:00
comm
compress Add EXIT STATUS section. Use Ex. New sentence, new line. 2017-07-04 06:58:55 +00:00
config Minor formatting tweaks. 2020-08-01 00:35:36 +00:00
crunch New sentence, new line. Fix typo. 2020-01-02 23:21:14 +00:00
csplit Compare return value of fputs(3) with EOF instead of 0. 2017-07-30 23:02:53 +00:00
ctags - add or adjust /* FALLTHROUGH */ where appropriate 2019-02-03 03:19:25 +00:00
cut
cvslatest introduce some common variables for use in GCC warning disables: 2019-10-13 07:28:04 +00:00
db
dc dc was in v1 2019-09-01 18:15:57 +00:00
deroff - add or adjust /* FALLTHROUGH */ where appropriate 2019-02-03 03:19:25 +00:00
dirname
du du was in v1 2019-09-01 18:18:42 +00:00
eject Drop main() prototype. 2016-09-05 00:40:28 +00:00
elf2aout Sort options in usage. 2019-05-19 09:14:13 +00:00
elf2ecoff fix printf format 2017-02-24 17:19:14 +00:00
env Fix a typo (extra `s') 2020-02-08 11:10:08 +00:00
error use getline(3) 2020-01-10 18:35:29 +00:00
expand Drop main() prototype. 2016-09-05 00:40:28 +00:00
extattr
false
fdformat Drop main() prototype. 2016-09-05 00:40:28 +00:00
fgen Use more macros. 2017-07-04 07:07:23 +00:00
fincore
find Inspired by PR pkg/53543 2018-09-04 15:16:15 +00:00
finger Add lastlogx support 2020-05-07 13:40:20 +00:00
flock fix a bug gcc 8 picked up: use ~LOCK_NB to look for LOCK_UN, 2019-10-04 16:27:00 +00:00
fmt Wse wide functions to avoid file corruption. Q+D because it does not 2017-10-13 00:11:56 +00:00
fold
fpr Remove workaround for ancient HTML generation code. 2017-07-03 21:28:48 +00:00
from
fsplit fix some error handling. 2015-06-16 22:54:10 +00:00
fstat Provide a helpful error message if we don't have privs to read kernel 2020-08-26 23:08:29 +00:00
ftp ftp: add -? for help. improve synopsis 2020-07-18 03:00:37 +00:00
gcore compare pointers with NULL not '\0'. 2019-02-01 08:29:03 +00:00
genassym
gencat Use An -nosplit. Use Mt. Fix some mandoc lint. 2018-07-28 08:03:41 +00:00
getaddrinfo
getconf
getent Remove superfluous Tn. 2017-10-23 01:06:05 +00:00
getopt
gettext From William Orr: 2015-07-12 11:40:52 +00:00
gprof Restore the MKGROFF=bo MKCXX=yes build 2018-06-11 14:18:16 +00:00
grep Fix asan heap buffer overflow. from enh at google. 2019-04-05 13:34:41 +00:00
gzip use the data size in case stdout was a pipe (M. Levinson) 2018-11-11 01:42:36 +00:00
head Add EXIT STATUS section. Use Ex. 2017-07-04 06:59:34 +00:00
hesinfo Drop main() prototype. 2016-09-05 00:40:28 +00:00
hexdump introduce some common variables for use in GCC warning disables: 2019-10-13 07:28:04 +00:00
iconv Switch the iconv(3) prototype to the POSIX conformant variation 2019-10-24 18:17:14 +00:00
id Add EXIT STATUS section. Use Ex. 2017-07-04 07:01:07 +00:00
indent Avoid common symbol declarations 2020-04-23 00:17:34 +00:00
infocmp infocmp: don't crash when a terminfo description does not have an alias 2020-03-31 12:44:15 +00:00
innetgr simplify __dead usage 2016-09-03 05:50:06 +00:00
ipcrm
ipcs
join Add EXIT STATUS section. Use Ex. 2017-07-04 07:01:07 +00:00
jot Generate format after setting the prec value 2020-06-14 01:26:46 +00:00
kdump futexput: cast the mask to u_long (as the op already is) 2020-04-30 15:12:25 +00:00
klist
ktrace Add the ability to: 2020-04-02 17:41:33 +00:00
ktruss Catch up in ktruss(1) with ptrace descriptive operation names 2020-01-14 11:28:35 +00:00
lam Remove workaround for ancient HTML generation code. 2017-07-03 21:28:48 +00:00
last
lastcomm
ldd PR 54093: Align static TLS area to max_align_t. 2019-11-04 12:45:10 +00:00
leave
locale Fix spelling errors. 2020-04-28 22:29:32 +00:00
locate Little clean up: use getopts and don't use ``. Suggested by kre@. 2020-04-25 10:06:42 +00:00
lock Drop main() prototype. 2016-09-05 00:40:28 +00:00
logger Remove superfluous Pp. 2020-06-26 15:46:28 +00:00
login Avoid use-after-free bug in PAM environment 2020-02-08 13:44:35 +00:00
logname Add EXIT STATUS section. Use Ex. 2017-07-04 07:01:07 +00:00
look Remove workaround for ancient HTML generation code. 2017-07-03 21:28:48 +00:00
lorder
m4 eval: Make radix optional even if minimum result width is specified. 2020-06-27 19:18:58 +00:00
machine
mail fix sun2 2019-12-17 19:12:50 +00:00
make make(1): clean up code in make.c 2020-08-29 07:13:17 +00:00
man Exit successfully after printing the search path, stop further processing. 2020-04-06 19:53:22 +00:00
menuc Fix typo in ad clause. Ok perry@. 2019-12-03 01:45:34 +00:00
mesg mesg was in v1 2019-09-01 18:26:01 +00:00
midiplay make a fallthru comment GCC7 compatible. 2019-02-01 08:37:21 +00:00
midirecord Sort sections. Fix date. 2020-03-14 09:01:11 +00:00
mixerctl Generate usage error for bad usage, before attempting any other operations. 2017-02-23 14:09:11 +00:00
mkcsmapper Infile is also optional. 2016-06-28 09:23:09 +00:00
mkdep deconst -> __UNCONST to avoid null pointer arithmetic 2018-05-23 21:20:20 +00:00
mkesdb Sync usage with program. Add RCS Id. Increase column width. Fix macro usage. Improve wording. 2016-06-28 09:25:21 +00:00
mkfifo Add EXIT STATUS section. Use Ex. 2017-07-04 07:01:07 +00:00
mklocale use strlcpy instead of strncpy. 2019-10-13 21:12:32 +00:00
mkstr Remove workaround for ancient HTML generation code. 2017-07-03 21:28:48 +00:00
mktemp Remove workaround for ancient HTML generation code. 2017-07-03 21:28:48 +00:00
mkubootimage arm64_image_header->image_size must be included size of arm64_image_header. 2020-02-08 13:27:00 +00:00
moduli use BN_is_prime_ex 2018-02-06 19:32:49 +00:00
msgc msg_table_add(): fix mishap in the format safety changes in r1.45 2019-11-16 17:38:09 +00:00
msgs introduce some common variables for use in GCC warning disables: 2019-10-13 07:28:04 +00:00
nbperf Fix typo 2017-06-20 15:50:04 +00:00
nbsvtool mark old compat functions. 2018-02-06 20:15:39 +00:00
nc Skip options which rely on crypto support in getopt() argument list, if we're 2019-10-03 01:15:19 +00:00
netgroup simplify __dead usage 2016-09-03 05:58:30 +00:00
netstat netstat: strengthen against kernel changes 2020-08-28 07:23:48 +00:00
newgrp Remove workaround for ancient HTML generation code. 2017-07-03 21:28:48 +00:00
newsyslog convert HAVE_GCC == 7 to HAVE_GCC >= 7. 2019-09-29 23:44:58 +00:00
nfsstat
nice
nl
nohup
pagesize
passwd add LIBKRB5_LDADD/LIBKRB5_DPADD and their static counterparts 2018-02-25 00:16:48 +00:00
paste
patch Keep things portable (requested by joerg) by not depending on reallocarr 2018-06-18 18:33:31 +00:00
pathchk
pkill Sort SEE ALSO. 2018-12-04 08:01:35 +00:00
pmap - Don't copy the entire namecache only to look up a few names. Walk the 2020-03-22 14:41:32 +00:00
pr Document history 2019-09-01 18:31:37 +00:00
printenv
printf Add quotes around command substitution in the example 2020-06-29 22:50:11 +00:00
progress Whitespace nit. 2020-04-25 11:12:39 +00:00
pwait The proper way to validate a condition that's expected to be true is 2017-07-30 20:37:35 +00:00
pwhash adding argon2 support to libcrypt. argon2 user authentication now 2019-10-21 02:36:48 +00:00
qsubst Use Nm to refer the program name. 2017-02-22 14:01:40 +00:00
quota Use standard Dd format. Remove superfluous Pp 2020-01-21 07:57:49 +00:00
radioctl
rdist introduce some common variables for use in GCC warning disables: 2019-10-13 07:28:04 +00:00
realpath Port realpath(1) from FreeBSD 2020-02-02 21:49:43 +00:00
renice
rev
revoke
rfcomm_sppd fix offset/indent of list 2017-12-21 08:59:27 +00:00
rlogin PR/54435: Adjust for new kernel behavior of soreceive(9) clearing MSG_OOB 2020-05-03 16:32:16 +00:00
rpcgen introduce some common variables for use in GCC warning disables: 2019-10-13 07:28:04 +00:00
rpcinfo introduce some common variables for use in GCC warning disables: 2019-10-13 07:28:04 +00:00
rs - add or adjust /* FALLTHROUGH */ where appropriate 2019-02-03 03:19:25 +00:00
rsh Remove workaround for ancient HTML generation code. 2017-07-03 21:28:48 +00:00
rump_allserver fix sun2 build 2020-05-17 19:37:15 +00:00
rump_dhcpclient Remove more _KERNTYPES definitions in rump components. 2017-05-11 13:20:02 +00:00
rump_halt Remove more _KERNTYPES definitions in rump components. 2017-05-11 13:20:02 +00:00
rump_server More nofifo 2020-05-16 12:46:57 +00:00
rump_wmd
rup introduce some common variables for use in GCC warning disables: 2019-10-13 07:28:04 +00:00
ruptime
rusers introduce some common variables for use in GCC warning disables: 2019-10-13 07:28:04 +00:00
rwall introduce some common variables for use in GCC warning disables: 2019-10-13 07:28:04 +00:00
rwho
script PR/55605: Soumendra Ganguly: Wait for child to finish when stdin is not a tty 2020-08-28 17:10:15 +00:00
sdiff Remove workaround for ancient HTML generation code. 2017-07-03 21:28:48 +00:00
sdpquery Switch the iconv(3) prototype to the POSIX conformant variation 2019-10-24 18:17:14 +00:00
sed sed(1): Don't force a newline on last line, if input stream doesn't have one 2020-05-15 22:39:54 +00:00
seq - Default terminator to \n 2018-12-17 20:10:51 +00:00
shar Remove workaround for ancient HTML generation code. 2017-07-03 21:28:48 +00:00
shlock Fix casts which are inconsistent with *printf() formats and remove the 2015-04-10 09:34:43 +00:00
shmif_dumpbus improve error messages, minor cleanups. 2020-04-01 21:04:34 +00:00
showmount introduce some common variables for use in GCC warning disables: 2019-10-13 07:28:04 +00:00
shuffle Fix misuse of arc4random by using arc4random_uniform. 2017-02-06 02:26:44 +00:00
skey Remove workaround for ancient HTML generation code. 2017-07-03 21:28:48 +00:00
skeyinfo
skeyinit
sockstat undo previous, now sockstat works without privs 2020-08-26 22:57:55 +00:00
soelim Drop main() prototype. 2016-09-05 00:40:28 +00:00
sort introduce some common variables for use in GCC warning disables: 2019-10-13 07:28:04 +00:00
sortinfo Free the buffer allocated by getline(3). 2017-04-30 13:45:06 +00:00
spell s/orignal/original/ 2019-12-27 10:20:01 +00:00
split needs <sys/stat.h> 2017-01-10 21:14:13 +00:00
stat adjust fallthru comment. 2019-10-04 11:12:16 +00:00
su Remove superfluous Ns. 2019-09-01 19:12:16 +00:00
sys_info show the verbose commands for bozohttpd and calendar too 2020-07-14 01:01:05 +00:00
systat Use the vm.uspace sysctl instead of using the USPACE kernel define. 2020-08-26 10:56:01 +00:00
tabs compare pointers with NULL not '\0'. 2019-02-01 08:29:03 +00:00
tail Remove double 'each of' 2020-06-20 10:53:28 +00:00
talk usr.bin/talk: Suppress -Werror=stringop-truncation error. 2020-02-08 12:53:29 +00:00
tcopy
tee Add EXIT STATUS section. Use Ex. 2017-07-04 07:01:07 +00:00
telnet introduce some common variables for use in GCC warning disables: 2019-10-13 07:28:04 +00:00
tftp user.bin/tftp: Suppress -Werror=format-overflow error. 2020-02-08 13:33:56 +00:00
tic terminfo: v3 records should create v3 aliases 2020-03-30 00:09:06 +00:00
time Add '-t' option for tcsh-style time output. 2020-04-23 07:54:53 +00:00
timeout typo 2016-10-13 06:22:26 +00:00
tip s/reseting/resetting/ 2020-07-22 01:24:39 +00:00
touch Update the description of the -t option to bring it in sync with IEEE 1003.1 -2008. 2016-12-24 15:49:18 +00:00
tput
tr tr.1: add a "see also" xref to ctype(3) (to align with an inline 2019-05-29 11:27:34 +00:00
true
tset Remove workaround for ancient HTML generation code. 2017-07-03 21:28:48 +00:00
tsort be host friendly 2020-08-17 16:26:03 +00:00
tty Document history 2019-09-01 18:41:14 +00:00
ul - add or adjust /* FALLTHROUGH */ where appropriate 2019-02-03 03:19:25 +00:00
uname
unexpand Deduplicate some code I'd duplicated, shorten a couple of staircases, 2019-09-13 17:32:29 +00:00
unifdef introduce some common variables for use in GCC warning disables: 2019-10-13 07:28:04 +00:00
uniq remove unused label 2019-04-23 17:35:10 +00:00
units If we're having Thai units, make them correct. A tarangwah is a square wah, 2020-04-23 09:38:17 +00:00
unvis
unzip Explicitly link against libpthread and liblzma to make static linking 2019-07-28 12:44:36 +00:00
usbhidaction Add an optional '-p pidfile' parameter. 2018-05-15 01:41:29 +00:00
usbhidctl Purge an ancient email address, use dsainty@NetBSD.org instead 2019-09-22 07:28:35 +00:00
users Drop main() prototype. 2016-09-05 00:40:28 +00:00
utoppya introduce some common variables for use in GCC warning disables: 2019-10-13 07:28:04 +00:00
uudecode
uuencode When input is not a multiple of three bytes in size, pad null 2019-03-04 05:37:08 +00:00
uuidgen
vacation Sort SEE ALSO. 2019-05-06 06:56:07 +00:00
vgrind s/expresion/expression/ in comment. 2019-12-27 09:32:09 +00:00
videoctl
vis Add -N (VIS_NOLOCALE), sort. 2015-05-24 19:42:39 +00:00
vmstat Remove PG_ZERO. It worked brilliantly on x86 machines from the mid-90s but 2020-06-14 21:41:42 +00:00
vndcompress Since vnconfig(8) was renamed (many years ago), update some cross-refs 2020-01-24 20:20:35 +00:00
w Skip bracket processing if -n is used. 2020-08-01 17:53:38 +00:00
wall introduce some common variables for use in GCC warning disables: 2019-10-13 07:28:04 +00:00
wc Document history 2019-09-01 18:44:06 +00:00
what Remove workaround for ancient HTML generation code. 2017-07-03 21:28:48 +00:00
whatis
whereis Sort sections. From Henning Petersen in PR 49222. 2014-09-19 16:02:58 +00:00
who use memcpy() for strings that are not C strings. 2019-10-05 23:35:57 +00:00
whois RIPE definition no longer exists in source 2020-03-01 02:45:04 +00:00
write write was in v1 2019-09-01 18:48:01 +00:00
xargs
xinstall Move __MKTEMP_OK up earlier so it has an actual impact. Reduces the 2016-05-31 06:55:02 +00:00
xlint Fix return of alignof() 2020-06-02 21:10:07 +00:00
xstr .Pp before .Bd is redundant. 2019-01-13 16:48:51 +00:00
yes
ypcat
ypmatch
ypwhich Remove spurious error(1) inserted compiler error message comments. 2017-08-11 20:32:34 +00:00
Makefile Port realpath(1) from FreeBSD 2020-02-02 21:49:43 +00:00
Makefile.inc