NetBSD/usr.bin
rillig d4904ec87b lint: clean up
In symtab_search, most of the conditions were redundant, so remove them.

In read_byte, using CHAR_MASK was conceptually wrong, as that constant
is from the target platform while the lexical analysis happens on the
host platform.  It was unnecessary as well, as a hypothetical host
platform with 36-bit chars might encode the characters from the basic
source character set as numbers higher than 0x0_0000_00ff.  Since lint
assumes that both the source character set as well as the execution
character set are the same and based on 8-bit bytes, nothing changes.

No functional change.
2023-02-02 22:23:30 +00:00
..
aiomixer aiomixer: Honor terminal colors. Looks better in cool-retro-term. 2021-07-18 11:45:31 +00:00
apply
apropos
asa new sentence, new line 2020-01-31 00:15:38 +00:00
at Revert parsedate(3) XXX as per discussion with kre@. 2021-04-03 04:33:08 +00:00
audio fix various typos in comments, documentation and messages. 2022-08-07 11:06:18 +00:00
audiocfg fix proplib deprecation 2021-06-21 03:04:27 +00:00
banner Add history section 2020-04-07 17:57:33 +00:00
base64 reflect reality. 2021-08-28 10:29:15 +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
bthset
btkey btkey: fix lint warning about wrong call to tolower 2021-08-25 22:52:25 +00:00
btpin introduce some common variables for use in GCC warning disables: 2019-10-13 07:28:04 +00:00
bzip2
bzip2recover
c11
c89
c99
cal Use two-letter weekday abbreviations in the heading 2020-06-29 14:01:14 +00:00
calendar spell "Chamonix" properly 2023-01-25 13:37:31 +00:00
cap_mkdb fix various typos in comments, log messages and documentation. 2021-12-03 13:27:37 +00:00
cdplay usr.bin: remove unnecessary CONSTCOND, lint no longer needs it 2021-11-27 22:16:41 +00:00
checknr properly terminate a string after strncpy(). 2021-04-13 01:38:04 +00:00
chflags
chpass Specify SANITIZER_RENAME_SYMBOL in chpass 2018-06-25 18:05:25 +00:00
cksum cksum.c: don't fault if the hash algorithm is fed invalid data 2022-06-25 02:22:42 +00:00
cleantags
cmp cmp.c: use C99 strtoll(3) instead of legacy strtoq(3) 2021-03-20 14:27:47 +00:00
col usr.bin: remove unnecessary lint comment CONSTCOND 2021-09-10 21:52:17 +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 uncompress: if the source is broken, don't delete the target 2022-05-22 21:39:44 +00:00
config fix various typos, mainly in comments. 2022-04-04 19:33:44 +00:00
crunch s/maek/make/ in comment. 2022-07-08 17:47:47 +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 Handle dummy timestamp better and check for I/O errors. From khorben@ 2020-11-03 22:21:43 +00:00
db db(1): Don't lie in the usage message re: `-q` 2022-08-10 00:28:00 +00:00
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
elf2aout Sort options in usage. 2019-05-19 09:14:13 +00:00
elf2ecoff
env Fix a typo (extra `s') 2020-02-08 11:10:08 +00:00
error fix various typos in comments. 2022-04-07 19:33:37 +00:00
expand
extattr fix various typos in comments. 2022-04-07 19:33:37 +00:00
false
fdformat usr.bin: remove unnecessary CONSTCOND, lint no longer needs it 2021-11-27 22:16:41 +00:00
fgen fix typos in comments. 2022-01-17 20:38:49 +00:00
fincore
find Use /dev/tty for SIGINFO 2022-01-22 14:08:19 +00:00
finger fix various typos in comment, documentation and log messages. 2022-05-24 20:50:17 +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
fstat Adjust userland commands for struct inpcb separation 2022-10-28 05:27:16 +00:00
ftp s/bninary/binary/ in comment. 2023-01-20 22:08:48 +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
gprof Restore the MKGROFF=bo MKCXX=yes build 2018-06-11 14:18:16 +00:00
grep fix various typos in documentation and comments. 2022-10-15 21:53:21 +00:00
gzip make siginfo handler print to /dev/tty. 2022-01-22 14:00:45 +00:00
head Change back various occurrences of \*[Le], \*[Ge] (less/greater equal) 2022-08-28 10:48:15 +00:00
hesinfo
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 indent: fix misleading comment 2023-01-20 00:24:25 +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
ipcrm
ipcs ipcs.c: do not #include sys/inttypes.h header which is not necessary 2021-03-18 19:34:05 +00:00
join join(1): convert realloc(x * y) to reallocarr and eliminate temporary 2021-11-02 10:05:49 +00:00
jot Generate format after setting the prec value 2020-06-14 01:26:46 +00:00
kdump updates for libdrm 2.4.114. 2022-11-12 02:20:15 +00:00
klist
ktrace ktrace.1: correct historical reference and minor grammar tweak 2022-09-02 03:43:53 +00:00
ktruss usr.bin: enable lint checks for most programs in /usr/bin 2021-08-22 22:24:11 +00:00
lam In the lam(1) example with a literal newline, use newish sh syntax. 2021-01-25 20:07:55 +00:00
last
lastcomm
ldd avoid printing the latest error message if some ldd method worked. 2023-01-04 03:33:54 +00:00
leave
locale Fix spelling errors. 2020-04-28 22:29:32 +00:00
locate locate.updatedb: Add -- to the invocation of locate.code 2023-01-20 13:07:09 +00:00
lock
logger Remove superfluous Pp. 2020-06-26 15:46:28 +00:00
login s/begining/beginning/ in comments and messages. 2022-01-24 09:14:36 +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 fix various typos in comment, documentation and log messages. 2022-05-24 20:50:17 +00:00
machine
mail etc: Fix permissions of various editable configuration files. 2022-08-30 13:40:37 +00:00
make make: some variables should be read-only 2023-01-26 20:48:17 +00:00
man man.conf.5: improve wording on searching alternate machine paths 2022-06-19 18:51:06 +00:00
menuc fix few typos. 2021-11-07 09:48:08 +00:00
mesg mesg was in v1 2019-09-01 18:26:01 +00:00
midiplay usr.bin: remove unnecessary CONSTCOND, lint no longer needs it 2021-11-27 22:16:41 +00:00
midirecord Sort sections. Fix date. 2020-03-14 09:01:11 +00:00
mixerctl mixerctl: add colon after 'Usage', add space after comma 2021-12-26 15:36:49 +00:00
mkcsmapper
mkdep mkdep: avoid memory allocation in findcc 2021-08-20 06:36:10 +00:00
mkesdb
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 Change back various occurrences of \*[Le], \*[Ge] (less/greater equal) 2022-08-28 10:48:15 +00:00
mktemp Update to reflect current reality for template characters - the process 2021-07-25 08:52:03 +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 msgc.1: fix typos 2021-10-11 18:08:12 +00:00
msgs msgs(1): avoid executing /usr/bin/Mail, it no longer exists. 2021-11-30 12:03:38 +00:00
nbperf Fix sanity check to match the fixed off-by-one logic in the sizing 2021-01-28 18:52:43 +00:00
nbsvtool fix various typos in comments, documentation and messages. 2022-05-31 08:43:13 +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
netstat if not given an interface to monitor by default, pick the one 2022-12-28 18:34:33 +00:00
newgrp grutil.c: fix grammar in a comment 2022-10-26 21:18:49 +00:00
newsyslog Use proper -width instead of the cargo-cult value. 2021-03-02 10:17:25 +00:00
nfsstat
nice
nl PR/55891 supress displaying separator when numbers supressed 2020-12-31 04:07:37 +00:00
nohup
pagesize
passwd usr.bin: remove unnecessary lint comment CONSTCOND 2021-09-10 21:52:17 +00:00
paste
patch Fix the message that appears if you patch -R an unapplied patch. 2021-09-20 23:22:36 +00:00
pathchk
pkill Add a -q option for pgrep to not print anything; similar to grep -q. 2022-10-29 08:17:16 +00:00
pmap Add -t option to print pmap as underlying RB tree. 2022-08-21 07:46:52 +00:00
pr s/boundries/boundaries/, s/itterate/iterate/ and few more typos. 2022-05-23 19:52:34 +00:00
printenv
printf fix typo 2021-05-20 02:01:07 +00:00
progress Add missing check for error returns from read(). Found by inspection 2021-08-17 07:18:43 +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 Update remarks on default parameters for Argon2. 2021-10-20 17:30:28 +00:00
qsubst
quota Use standard Dd format. Remove superfluous Pp 2020-01-21 07:57:49 +00:00
radioctl
rdist fix various typos, mainly s/trasfering/transferring/ and s/theese/these/. 2022-05-03 20:52:30 +00:00
realpath Add missing comma. 2022-07-21 09:51:53 +00:00
renice renice: Make usage match man page more. 2020-10-23 16:16:10 +00:00
resize Only specify the dependencies if we are making the copy target. 2021-03-02 14:26:00 +00:00
rev
revoke
rfcomm_sppd fix offset/indent of list 2017-12-21 08:59:27 +00:00
rlogin revert rev 1.45: 2021-08-03 23:21:07 +00:00
rpcgen fix few typos in comments for word "because". 2022-03-04 21:12:03 +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 more GCC 10 fixes. 2021-04-13 06:25:48 +00:00
rump_allserver Force at most partial RELRO for rump_server and related libraries 2021-11-01 21:37:32 +00:00
rump_dhcpclient fix various typos in comments and one output message. 2022-10-31 21:22:05 +00:00
rump_halt Allow to set sanitizer flags for the rump build from the 2021-07-07 11:51:45 +00:00
rump_server Force at most partial RELRO for rump_server and related libraries 2021-11-01 21:37:32 +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
scmdctl s/simular/similar/ 2022-04-11 21:23:07 +00:00
script 1. restore the previous finish() logic to make: 2022-02-13 19:40:14 +00:00
sdiff sdiff: fix undefined behavior for ctype functions 2021-08-27 17:38:57 +00:00
sdpquery sdpquery: fix undefined behavior when calling ctype functions 2021-08-27 17:41:39 +00:00
sed s/delimeter/delimiter/ in comment. 2023-01-20 01:26:02 +00:00
seq seq(1): add more examples, improve wording 2022-02-28 13:49:50 +00:00
shar shar.1: remove false security claim 2023-01-25 19:52:14 +00:00
shlock appease gcc-9 2021-04-17 00:02:19 +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
skey We removed Mail before branching netbsd-9 2022-10-11 15:59:38 +00:00
skeyinfo
skeyinit
sockstat Adjust userland commands for struct inpcb integration 2022-10-28 05:24:07 +00:00
soelim
sort fix few more typos in comments, messages and documentation. 2021-09-19 11:37:00 +00:00
sortinfo Free the buffer allocated by getline(3). 2017-04-30 13:45:06 +00:00
spell spell(1): convert realloc(x * y) to reallocarr 2021-11-09 09:41:05 +00:00
split auto-extend suffix length if required 2023-01-30 15:22:02 +00:00
stat readlink: sort SEE ALSO 2022-07-21 10:08:28 +00:00
su usr.bin: remove unnecessary CONSTCOND, lint no longer needs it 2021-11-27 22:16:41 +00:00
sys_info show the verbose commands for bozohttpd and calendar too 2020-07-14 01:01:05 +00:00
systat Adjust userland commands for struct inpcb separation 2022-10-28 05:27:16 +00:00
tabs tabs: fix lint warnings about ctype functions and conversions 2021-08-27 18:28:41 +00:00
tail Change back various occurrences of \*[Le], \*[Ge] (less/greater equal) 2022-08-28 10:48:15 +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 Prevent crashes as shown in PR 56918. 2022-07-08 21:51:24 +00:00
tftp PR/57166: John Dundas: Correct error code byte order in error message 2023-01-06 17:18:56 +00:00
tic terminfo: v3 records should create v3 aliases 2020-03-30 00:09:06 +00:00
time Since there is a -t option, and the option itself is documented, there 2021-04-05 23:01:55 +00:00
timeout POSIX is addint this utility in Issue 8 (whenever it appears). However 2022-12-13 13:25:36 +00:00
tip fix various small typos, mainly in comments. 2022-05-22 11:27:33 +00:00
touch
tput
tr add alphabetic to lower for consistency (nabijaczleweli) 2021-06-14 17:22:22 +00:00
true
tset Remove workaround for ancient HTML generation code. 2017-07-03 21:28:48 +00:00
tsort tsort: fix typo in comment 2021-02-06 16:02:16 +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 Extend units.lib with prefixes from Resolution 3 of the 27th meeting of CGPM. 2022-11-20 14:53:14 +00:00
unvis
unzip usr.bin: remove unnecessary lint comment CONSTCOND 2021-09-10 21:52:17 +00:00
usbhidaction increase the size of a buffer by 1 byte. 2021-04-13 02:07:35 +00:00
usbhidctl Purge an ancient email address, use dsainty@NetBSD.org instead 2019-09-22 07:28:35 +00:00
users
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/begining/beginning/ in comments and messages. 2022-01-24 09:14:36 +00:00
videoctl videoctl: remove unnecessary code for unknown option -h 2021-02-19 11:39:11 +00:00
vis fix URL 2021-02-20 09:31:51 +00:00
vmstat Remove extraneous "d" in a printf format string in UVM history dump 2022-10-23 23:30:31 +00:00
vndcompress Since vnconfig(8) was renamed (many years ago), update some cross-refs 2020-01-24 20:20:35 +00:00
w w: add -A to usage 2022-05-26 06:48:36 +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 what: use numeric exit status, as indicated by the comment 2021-12-07 18:38:50 +00:00
whatis
whereis remove unnecessary quotes 2022-09-11 20:18:30 +00:00
who PR/56013: Kouichi Hashikawa: Move setutent/setutxent right before the loops. 2021-02-26 02:45:43 +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 install(1): copy metachar table from usr.bin/make 2020-10-30 20:05:00 +00:00
xlint lint: clean up 2023-02-02 22:23:30 +00:00
xstr .Pp before .Bd is redundant. 2019-01-13 16:48:51 +00:00
yes
ypcat ypcat(1): Convert realloc(x * y) to reallocarr. 2021-10-30 08:56:54 +00:00
ypmatch
ypwhich Remove spurious error(1) inserted compiler error message comments. 2017-08-11 20:32:34 +00:00
Makefile build system: Revert all the recent additions of MK[...] knobs that 2022-06-06 10:56:27 +00:00
Makefile.inc usr.bin: enable lint checks for most programs in /usr/bin 2021-08-22 22:24:11 +00:00