1
0
mirror of https://github.com/openbsd/src.git synced 2024-12-22 07:27:59 -08:00
openbsd-src/usr.bin
ratchov 7b6392009e sndiod: Switch to printf(3)-style logging
With this change, any line is logged using a single function call
(instead of one function call per logged token). This makes the
sources easier to read and reduces the binary size. Debug strings that
would be too difficult to produce with snprintf(3) are simplified.

ok tb, dlg
2024-12-20 07:35:56 +00:00
..
apply
arch
at fix an alignment error in the Queue column label of atq(1) introduced on 2024-11-05 16:26:01 +00:00
aucat aucat: check for failled allocation 2024-07-08 16:10:34 +00:00
audioctl shorten SYNOPSIS from three versions to two (me) then one (ratchov), 2023-01-09 17:13:46 +00:00
awk Even though US-ASCII (= ANSI X3.4-1986) only defines 128 characters, 2024-08-11 18:24:43 +00:00
banner
basename bump posix ref 2008 -> 2024; 2024-07-30 19:16:49 +00:00
bc quote the book title (%T) reference, to prevent formatters (in this case 2024-07-31 05:36:13 +00:00
bgplg missing save_errno dance inside non-terminal signal handler 2024-07-01 18:43:50 +00:00
biff userspace: remove vestigial '?' cases from top-level getopt(3) loops 2022-12-04 23:50:45 +00:00
cal whitespace 2024-08-18 19:58:35 +00:00
calendar Drop the "Giant panda discovered" entry because it looks like 2024-09-14 20:15:24 +00:00
cap_mkdb userspace: remove vestigial '?' cases from top-level getopt(3) loops 2022-12-04 23:50:45 +00:00
cdio Delete obsolete /* ARGSUSED */ lint comments. 2023-03-08 04:43:04 +00:00
chpass remove duplicate prototype 2024-10-22 22:15:38 +00:00
cmp
col userspace: remove vestigial '?' cases from top-level getopt(3) loops 2022-12-04 23:50:45 +00:00
colrm userspace: remove vestigial '?' cases from top-level getopt(3) loops 2022-12-04 23:50:45 +00:00
column spelling fixes; from paul tagliamonte 2022-12-26 19:16:00 +00:00
comm userspace: remove vestigial '?' cases from top-level getopt(3) loops 2022-12-04 23:50:45 +00:00
compress Ignore -N in "gzip -dN <in.gz" and "zcat -N in.gz" 2023-11-11 02:52:55 +00:00
cpp
crontab
csplit Delete obsolete /* ARGSUSED */ lint comments. 2023-03-08 04:43:04 +00:00
ctags userspace: remove vestigial '?' cases from top-level getopt(3) loops 2022-12-04 23:50:45 +00:00
ctfconv On i386 long double is 80bit expanded to 96bits or 12 bytes. This is the 2024-10-02 12:31:33 +00:00
ctfdump Print the size of more objects (basic types and enums) based on their 2024-02-22 13:21:03 +00:00
cu Map ucom unit number to cuaU number using the same 2024-10-24 22:42:08 +00:00
cut Delete obsolete /* ARGSUSED */ lint comments. 2023-03-08 04:43:04 +00:00
cvs avoid potential use-after-free 2024-05-30 10:25:58 +00:00
dc Use LibreSSLs specialized functions to print base 10 and base 16. 2024-11-07 16:20:00 +00:00
deroff Use a dynamically-allocated line buffer and resize as needed. 2023-09-27 21:06:33 +00:00
diff glob patterns described in glob(7) not fnmatch(3); 2024-12-03 07:09:14 +00:00
diff3
dig Implement RESINFO (RFC 9606) 2024-12-09 12:24:01 +00:00
dirname
doas change permit to be more bits away from deny, because rowhammer. 2024-02-15 18:57:58 +00:00
du userspace: remove vestigial '?' cases from top-level getopt(3) loops 2022-12-04 23:50:45 +00:00
encrypt
env The dash must not come first in the getopt(3) string 2024-07-28 21:44:42 +00:00
expand userspace: remove vestigial '?' cases from top-level getopt(3) loops 2022-12-04 23:50:45 +00:00
false
fgen fix usage; Thomas Klausner will commit the same diff to NetBSD within the 2024-05-20 19:16:48 +00:00
file Convert sbin and usr.bin to check for imsgbuf_init failure and add 2024-11-21 13:35:20 +00:00
find Replace use of the old BSD st_*timespec members in struct stat with 2023-08-11 04:45:05 +00:00
finger finger/mail: two trivial functions were missed in earlier ansi passes 2023-02-08 08:24:29 +00:00
fmt
fold
from
fstat remove prototypes with no matching function and externs with no var 2024-05-21 05:00:47 +00:00
ftp remove prototypes with no matching function and externs with no var 2024-05-21 05:00:47 +00:00
gencat spelling fixes; from paul tagliamonte 2022-12-26 19:16:00 +00:00
getcap
getconf userspace: remove vestigial '?' cases from top-level getopt(3) loops 2022-12-04 23:50:45 +00:00
getent
getopt
gprof Reformat gprof.callg to be more compact so that it annoys a bit less when 2024-08-21 13:29:09 +00:00
grep procline: only reduce mcount once per line, not once per match. 2023-11-15 00:50:43 +00:00
head
hexdump userspace: remove vestigial '?' cases from top-level getopt(3) loops 2022-12-04 23:50:45 +00:00
htpasswd man pages: add missing commas between subordinate and main clauses 2022-03-31 17:27:13 +00:00
id Ignore extra groups that don't fit in the buffer passed to getgrouplist(3) 2024-11-04 21:59:15 +00:00
indent nasty whitespace 2024-08-20 05:22:05 +00:00
infocmp Update ncurses and associated libraries (form, panel, menu) to 2023-10-17 09:52:08 +00:00
ipcrm Delete obsolete /* ARGSUSED */ lint comments. 2023-03-08 04:43:04 +00:00
ipcs
join userspace: remove vestigial '?' cases from top-level getopt(3) loops 2022-12-04 23:50:45 +00:00
jot
kdump Trace struct itimerval 2024-07-26 19:16:31 +00:00
keynote
kstat glob patterns described in glob(7) not fnmatch(3); 2024-12-03 07:09:14 +00:00
ktrace rectify comment about syncing trace points letters, kdump usage has none 2024-09-13 20:19:50 +00:00
lam
last
lastcomm New accounting flag ABTCFI to indicate signal SIGILL + code ILL_BTCFI 2024-02-25 00:07:13 +00:00
ldap 'e' is no longer an optional element for ober_scanf_elements. 2022-03-31 09:03:48 +00:00
leave
less remove externs for removed vars 2024-05-18 00:08:06 +00:00
lex add missing option "-d" to flex(1)'s usage. 2024-12-18 12:33:57 +00:00
libtool finish v5.36, UList was a bit more work 2023-07-10 09:29:48 +00:00
lndir
locale Actually, LANG only set the default. 2023-03-05 18:55:34 +00:00
locate glob patterns described in glob(7) not fnmatch(3); 2024-12-03 07:09:14 +00:00
lock
logger userspace: remove vestigial '?' cases from top-level getopt(3) loops 2022-12-04 23:50:45 +00:00
login Remove reference to telnet(1). 2024-08-16 16:11:06 +00:00
logname If a command or interface first appeared in PWB/UNIX, UNIX System III or 2022-07-25 02:25:55 +00:00
look userspace: remove vestigial '?' cases from top-level getopt(3) loops 2022-12-04 23:50:45 +00:00
lorder
m4 whitespaces 2024-08-18 22:06:40 +00:00
mail make usage for both mail(1) and mailx(1) fit in a 80-column display. 2024-11-05 16:14:39 +00:00
make Replace sys/time.h with proper includes for using localtime 2024-08-06 04:59:18 +00:00
mandoc remove unneeded semicolons; checked by millert@ 2024-09-20 02:00:46 +00:00
mesg userspace: remove vestigial '?' cases from top-level getopt(3) loops 2022-12-04 23:50:45 +00:00
mg remove unneeded semicolons; checked by millert@ 2024-09-20 02:00:46 +00:00
midicat midicat(1): use err(3) everywhere 2022-12-02 22:36:34 +00:00
mixerctl
mkdep
mklocale
mktemp Clarify which part of the path name is considered for substitution. 2024-03-03 15:24:45 +00:00
nc netcat: drop caddr_t cast. It's not needed and not portable. 2024-11-02 17:19:27 +00:00
netstat Show expensive mbuf operations in netstat(1) statistics. 2024-08-29 10:44:40 +00:00
newsyslog Don't run through time checks when entry is definitely oversized. 2024-10-30 09:16:24 +00:00
nfsstat Delete obsolete /* ARGSUSED */ lint comments. 2023-03-08 04:43:04 +00:00
nice
nl userspace: remove vestigial '?' cases from top-level getopt(3) loops 2022-12-04 23:50:45 +00:00
nm remove prototypes with no matching function and externs with no var 2024-05-21 05:00:47 +00:00
nohup
openssl ciphers: remove tls1 and tls1_1 leftovers 2024-12-11 12:18:05 +00:00
pagesize
passwd typo: "pwdtries" -> "passwordtries"; ok millert@ 2024-05-24 13:32:03 +00:00
paste userspace: remove vestigial '?' cases from top-level getopt(3) loops 2022-12-04 23:50:45 +00:00
patch use strtonum() to parse numeric option values instead of atoi() 2024-08-30 07:11:02 +00:00
pctr
pkg-config In pkg-config, accept both "CFlags:" and "Cflags:" 2024-02-11 03:57:10 +00:00
pkill
pr Delete obsolete /* ARGSUSED */ lint comments. 2023-03-08 04:43:04 +00:00
printenv
printf annoying whitespace found during an audit process 2024-08-26 03:49:06 +00:00
quota
radioctl
rcs remove prototypes with no matching function and externs with no var 2024-05-21 05:00:47 +00:00
rdist undo unneccessary \*([GL]t sequences; balance that by adding Sq; 2024-11-29 23:46:40 +00:00
rdistd spelling fixes; from paul tagliamonte 2022-12-26 19:16:00 +00:00
readlink
realpath
renice fix double space; from crystal kolipe 2024-07-25 13:40:55 +00:00
rev
rpcgen rpcgen(1): default to "STDIN" as input file when compiling to headers. 2024-07-22 17:55:18 +00:00
rpcinfo remove unused variables 2024-09-15 07:14:58 +00:00
rs
rsync include stdio.h for sscanf() snprintf() 2024-10-13 03:35:59 +00:00
rup
rusers
rwall
script
sdiff If a command or interface first appeared in PWB/UNIX, UNIX System III or 2022-07-25 02:25:55 +00:00
sed The "c" command should start the next cycle as clarified in POSIX 2024-12-10 23:49:55 +00:00
sendbug Add more missing archs to "categories": aarch64, mips64el and powerpc64 2022-04-10 17:47:54 +00:00
seq make history less verbose 2023-09-21 13:51:50 +00:00
shar
showmount we mention interim BSD releases so change some 4.4BSD use to 4.3BSD-Reno 2022-07-30 07:19:30 +00:00
signify crank to 7.6-beta, release date is vague 2024-08-07 15:59:24 +00:00
skey The maximum count is SKEY_MAX_SEQ + 1 not SKEY_MAX_SEQ - 1. 2024-08-03 22:00:31 +00:00
skeyaudit
skeyinfo
skeyinit man pages: add missing commas between subordinate and main clauses 2022-03-31 17:27:13 +00:00
sndioctl sndio: Add a display string to the sioctl_open API 2024-05-24 15:10:26 +00:00
sndiod sndiod: Switch to printf(3)-style logging 2024-12-20 07:35:56 +00:00
snmp correct indentation; no functional change 2024-04-23 13:34:50 +00:00
sort remove unneeded semicolons; checked by millert@ 2024-09-20 02:00:46 +00:00
spell spelling fixes; from paul tagliamonte 2022-12-26 19:16:00 +00:00
split
ssh Plug leak on error path, spotted by Coverity. ok djm@ 2024-12-12 09:09:09 +00:00
stat Prefer the POSIX standard st_*tim struct timespec members over the 2023-08-06 19:36:13 +00:00
su Denote multiple arguments with 'arg ...' not 'args' 2022-12-22 19:53:22 +00:00
systat Make CPU frequencies human readable with -h in systat sensors. 2024-11-08 08:45:47 +00:00
tail userspace: remove vestigial '?' cases from top-level getopt(3) loops 2022-12-04 23:50:45 +00:00
talk
tcpbench sort options list; 2024-11-06 06:40:16 +00:00
tee tee(1): explicitly check read(2) return value for 0 and -1 2023-03-04 00:00:25 +00:00
telnet replace hand-rolled number parser with strtonum 2024-08-26 21:34:32 +00:00
tftp correct indentation; no functional change 2024-04-23 13:34:50 +00:00
tic Update ncurses and associated libraries (form, panel, menu) to 2023-10-17 09:52:08 +00:00
time time(1): miscellaneous style(9) tweaks 2023-10-15 18:20:25 +00:00
timeout Add note about timeout(1)'s standards compliance 2024-06-16 18:33:56 +00:00
tmux Only map S-Tag in mode 2, not mode 1. GitHub issue 4304. 2024-12-20 07:10:51 +00:00
top remove prototypes with no matching function 2024-05-18 01:51:44 +00:00
touch
tput Fix some program names that were not expanded correctly when ncurses was 2024-08-23 15:10:40 +00:00
tr Straightforward conversion form K&R to ANSI function definitions 2023-05-04 16:08:29 +00:00
true
ts fix unintended sizeof pointer introduced in 1.10 2022-10-11 07:36:27 +00:00
tset Fix some program names that were not expanded correctly when ncurses was 2024-08-23 15:10:40 +00:00
tsort fix macro to look more like a function, remove extraneous ; 2024-01-18 15:34:29 +00:00
tty tty(1): exit with status 2 if unveil(2) or pledge(2) fail 2024-05-06 16:49:46 +00:00
ul
uname OpenBSD intentionally does not print a flavor for -r. 2024-06-03 15:55:52 +00:00
unexpand
unifdef unifdef appeared in 4.1c before 2.9 2023-08-13 02:20:23 +00:00
uniq
units add HISTORY section; from Evan Silberman 2024-12-10 05:10:13 +00:00
unvis userspace: remove vestigial '?' cases from top-level getopt(3) loops 2022-12-04 23:50:45 +00:00
usbhidaction Delete obsolete /* ARGSUSED */ lint comments. 2023-03-08 04:43:04 +00:00
usbhidctl Delete obsolete /* ARGSUSED1 */ lint comments. 2023-03-07 17:43:59 +00:00
users userspace: remove vestigial '?' cases from top-level getopt(3) loops 2022-12-04 23:50:45 +00:00
uudecode Use BUFSIZ instead of PATH_MAX. Since it doesn't anything with a file 2022-08-30 16:06:09 +00:00
uuencode
vacation fix handling of Return-Path 2024-08-29 21:04:16 +00:00
vi Don't divide by zero (empty files) 2024-04-25 09:58:17 +00:00
vis userspace: remove vestigial '?' cases from top-level getopt(3) loops 2022-12-04 23:50:45 +00:00
vmstat vmstat/dkstats.c: remove obfuscatory timerset() macro 2024-05-06 16:54:22 +00:00
w remove unused variables 2024-09-15 07:14:58 +00:00
wall Switch K&R function definition to ANSI to make clang 15 happier 2023-05-02 09:51:22 +00:00
wc fstat(2) can't return an S_IFLNK, so delete that test. 2024-09-11 03:57:14 +00:00
what Delete obsolete /* ARGSUSED */ lint comments. 2023-03-08 04:43:04 +00:00
which
who
whois remove possibly bogus length check 2024-03-25 19:11:52 +00:00
write
x99token
xargs Suppress a spurious empty arg at EOF w/ "find -0" caused by the last commit. 2023-12-23 15:58:58 +00:00
xinstall create_tempfile: pass pointer to full pathname to strlcat() 2024-10-17 15:38:38 +00:00
yacc remove prototypes with no matching function and externs with no var 2024-05-21 05:00:47 +00:00
yes
ypcat
ypmatch
ypwhich Replace inet_aton / gethostbyname with getaddrinfo. 2024-08-19 06:00:18 +00:00
Makefile Import ts(1) - a timestamp utility 2022-06-29 08:39:49 +00:00
Makefile.inc