NetBSD/usr.bin
sjg 3a5409e4eb Fix an off-by-one error in handing mal-formed modifiers.
The issue seems to have been present for some time, only showed up
when running unit-tests on SunOS.
Make sure we get an error message, but otherwise behave as before.
2007-10-09 05:55:03 +00:00
..
apply Fix example; from sat@freebsd via jmc@openbsd. 2006-12-24 10:07:18 +00:00
apropos modified man(1): 2006-04-10 14:39:06 +00:00
asa - use fwrite instead of printf. 2007-06-24 23:23:10 +00:00
at Convert to using raise_default_signal(3). 2007-10-05 07:22:23 +00:00
audio Convert to raise_default_signal(3). 2007-10-05 07:27:41 +00:00
awk use -Wno-pointer-sign for GCC4. 2006-05-11 01:19:55 +00:00
banner
basename Clean up by using basename(3) from libc. 2005-04-04 16:47:54 +00:00
bdes Add new Makefile knob, USE_FORT, which extends USE_SSP by turning on the 2007-05-28 12:06:17 +00:00
biff Kill __P(), use ANSI function declarations. 2005-02-17 16:53:45 +00:00
bthset Needs errno.h if !gcc. 2007-09-16 18:44:19 +00:00
btpin new lines for new sentences 2007-09-24 19:29:01 +00:00
bzip2 Add new Makefile knob, USE_FORT, which extends USE_SSP by turning on the 2007-05-28 12:06:17 +00:00
bzip2recover Add new Makefile knob, USE_FORT, which extends USE_SSP by turning on the 2007-05-28 12:06:17 +00:00
cal appease gcc -Wuninitialized 2005-06-02 01:35:57 +00:00
calendar aspell 2007-08-27 21:58:16 +00:00
cap_mkdb Write the database file into a temporary file first, because otherwise if 2005-04-13 04:50:22 +00:00
cdplay Correct documentation: 2007-04-23 11:47:55 +00:00
checknr Coverity CID 2969: Check for negative stack in the 'P' case like we do in 2006-04-25 19:25:19 +00:00
chflags Adapt chflags to the move of string_to_flags() and flags_to_string() 2006-12-14 20:57:00 +00:00
chpass Add new Makefile knob, USE_FORT, which extends USE_SSP by turning on the 2007-05-28 12:06:17 +00:00
cksum Remove duplicate #includes 2007-01-17 00:21:43 +00:00
cmp change error printing to signed for consistency. From Anon Ymous 2007-08-22 16:59:19 +00:00
col Kill __P(), use ANSI function declarations; WARNS=3. 2005-02-17 17:12:42 +00:00
colcrt Kill __P(), use ANSI function declarations, constify; WARNS=3. 2005-02-17 17:17:25 +00:00
colrm Kill __P(), use ANSI function declarations, constify; WARNS=3. 2005-02-17 17:17:25 +00:00
column - Change all emalloc to ecalloc, since the previous implementation of emalloc 2006-12-09 21:42:40 +00:00
comm Kill __P(), use ANSI function declarations. 2005-02-17 17:31:28 +00:00
compile_et
compress Add new Makefile knob, USE_FORT, which extends USE_SSP by turning on the 2007-05-28 12:06:17 +00:00
config Some more licence clean up. 2007-09-10 10:54:20 +00:00
crontab Add new Makefile knob, USE_FORT, which extends USE_SSP by turning on the 2007-05-28 12:06:17 +00:00
crunch PR/36867 - Zafer Aydogan -- trsp is no longer 2007-08-30 18:56:51 +00:00
csplit Convert to raise_default_signal(3). 2007-10-05 07:27:41 +00:00
ctags don't do the -Wno-pointer-sign dance for host programs. 2006-05-12 01:18:25 +00:00
cut PR/36583: Aleksey Cheusov: /usr/bin/cut: -[bcf] positions are limited to 2048 2007-07-02 18:41:03 +00:00
db Add new Makefile knob, USE_FORT, which extends USE_SSP by turning on the 2007-05-28 12:06:17 +00:00
deroff We already pass WARNS=3. 2005-09-01 18:27:24 +00:00
dirname Clean up by using dirname(3) from libc. 2005-04-04 16:46:55 +00:00
du Fix typo in usage. 2006-09-24 07:19:57 +00:00
eject PR bin/27066 by Sergey Svishchev: "eject(1) does not DTRT for floppy drives 2006-09-24 08:42:55 +00:00
elf2aout
elf2ecoff Fix "pointer targets in passing argument X of 'Y' differ in signedness" 2006-05-31 08:09:55 +00:00
env Improve description of EXIT CODES. Based on the following OpenBSD commit, 2007-06-08 18:20:42 +00:00
error Convert to raise_default_signal(3). 2007-10-05 07:27:41 +00:00
expand - ansi 2005-03-09 02:02:07 +00:00
extattr mark strpy safe 2006-06-17 08:32:42 +00:00
false
fdformat Bump date for previous. 2006-07-22 08:36:14 +00:00
fgen Coverity CID 1748: Free alias on error. 2006-04-22 17:51:09 +00:00
file Add new Makefile knob, USE_FORT, which extends USE_SSP by turning on the 2007-05-28 12:06:17 +00:00
find revert previous thinko 2007-09-25 04:10:12 +00:00
finger Add new Makefile knob, USE_FORT, which extends USE_SSP by turning on the 2007-05-28 12:06:17 +00:00
fmt make sure we have args before we try to parse numbers in the compat argument 2007-06-03 22:39:21 +00:00
fold
fpr
from Add new Makefile knob, USE_FORT, which extends USE_SSP by turning on the 2007-05-28 12:06:17 +00:00
fsplit
fstat Bug fix: filed.fd_ofiles is always a pointer to the open files 2007-09-09 01:26:55 +00:00
ftp Cast the field precision calculation to int. 2007-08-22 23:47:13 +00:00
gcore PR/26804: Jason Thorpe: Make PT_DUMPCORE require the process to be PT_ATTACH'ed 2006-04-01 22:34:00 +00:00
genassym Remove unneeded \ from awk script. 2006-10-21 04:48:29 +00:00
gencat Changes for standards compliance: 2007-10-06 02:55:56 +00:00
getconf Implementation of POSIX message queues. 2007-09-07 18:56:02 +00:00
getent Add new Makefile knob, USE_FORT, which extends USE_SSP by turning on the 2007-05-28 12:06:17 +00:00
getopt ANSIfy, remove unnecessary errno.h inclusion. 2006-07-09 21:39:48 +00:00
gprof
grep Changed the type of some size variables from int to size_t. Added const 2006-05-15 21:12:21 +00:00
gzip Add new Makefile knob, USE_FORT, which extends USE_SSP by turning on the 2007-05-28 12:06:17 +00:00
head
hesinfo Add new Makefile knob, USE_FORT, which extends USE_SSP by turning on the 2007-05-28 12:06:17 +00:00
hexdump use ecalloc in previous 2006-10-09 14:27:06 +00:00
iconv More programs using efun. 2006-08-26 18:17:41 +00:00
id WFORMAT is no more... 2006-10-08 17:52:28 +00:00
indent WFORMAT is no more... 2006-10-08 17:52:28 +00:00
innetgr Fix minor grammar nit. 2007-07-05 19:44:02 +00:00
ipcrm
ipcs PR/34837: Mindaguas: Add SysV SHM dynamic reallocation and locking to the 2006-11-25 21:40:04 +00:00
join Be a good citizen and close files that are no longer used. 2007-02-21 20:45:27 +00:00
jot WFORMAT is no more... 2006-10-08 17:52:28 +00:00
kdestroy Add new Makefile knob, USE_FORT, which extends USE_SSP by turning on the 2007-05-28 12:06:17 +00:00
kdump Apply fix from PR 35283 from David Holland: 2007-08-08 20:28:11 +00:00
kgetcred Add new Makefile knob, USE_FORT, which extends USE_SSP by turning on the 2007-05-28 12:06:17 +00:00
kinit Add new Makefile knob, USE_FORT, which extends USE_SSP by turning on the 2007-05-28 12:06:17 +00:00
klist Add new Makefile knob, USE_FORT, which extends USE_SSP by turning on the 2007-05-28 12:06:17 +00:00
ktrace Remove 'U' (was scheduler activations) from the list of default trace points. 2007-08-27 16:35:47 +00:00
ktruss Deal correctly with mulithreaded processes. Among other problems this mixed 2007-08-01 21:39:36 +00:00
lam WFORMAT is no more... 2006-10-08 17:52:28 +00:00
last Convert to raise_default_signal(3). 2007-10-05 07:27:41 +00:00
lastcomm Note that ACOMPAT and ASU are no longer recorded. 2006-12-22 08:00:20 +00:00
ldd call sysconf, before add paths. From Kurt Schreiner 2007-10-08 12:51:21 +00:00
leave Fix Xref. End sentence with a dot. From YOMURA Masanori in private mail. 2005-09-11 23:18:42 +00:00
less Add the list of differences between more and less provided by mrg@ in 2006-12-17 16:16:53 +00:00
lex WFORMAT is no more... 2006-10-08 17:52:28 +00:00
locale make "locale -a" read locale.alias file. 2006-02-16 19:19:49 +00:00
locate fix typos 2007-04-29 20:23:34 +00:00
lock Add new Makefile knob, USE_FORT, which extends USE_SSP by turning on the 2007-05-28 12:06:17 +00:00
logger Add new Makefile knob, USE_FORT, which extends USE_SSP by turning on the 2007-05-28 12:06:17 +00:00
login Add new Makefile knob, USE_FORT, which extends USE_SSP by turning on the 2007-05-28 12:06:17 +00:00
logname
look
lorder In preparation for making TOOL_LORDER use TOOL_JOIN, TOOL_MKTEMP and 2007-01-14 16:29:35 +00:00
m4 Convert to using raise_default_signal(3). 2007-10-05 07:36:45 +00:00
machine
mail Use warnx(3) not warn(3); timegm(3) does not set errno. Use the 2007-10-04 17:05:01 +00:00
make Fix an off-by-one error in handing mal-formed modifiers. 2007-10-09 05:55:03 +00:00
man Convert to using raise_default_signal(3). 2007-10-05 07:36:45 +00:00
menuc Fully initialize the last element of menu_def[]. 2006-10-23 19:29:48 +00:00
mesg - Check stdin, stdout, and stderr for a tty. From Liam Foy for SUSv3 2005-07-30 16:14:39 +00:00
midiplay Bump date for previous. New sentence, new line. 2006-07-02 01:48:51 +00:00
mixerctl Two improvements, from a diff from jmc@openbsd. 2006-02-25 01:19:22 +00:00
mk_cmds
mkcsmapper mapper_std iconv module and mkcsmapper(1) now can treat 2006-09-09 14:35:17 +00:00
mkdep remove unnecessary #include 2007-09-25 04:36:30 +00:00
mkesdb change #include <sys/endian.h> => #include <machine/endian.h> so that 2006-02-09 22:03:15 +00:00
mkfifo fix setmode error handling. 2005-10-01 20:23:54 +00:00
mklocale
mkstr
mktemp Sync usage with man page. 2006-09-19 19:01:56 +00:00
modstat Add new Makefile knob, USE_FORT, which extends USE_SSP by turning on the 2007-05-28 12:06:17 +00:00
moduli make MKCRYPTO=no work again. 2006-06-25 03:02:19 +00:00
msgc eliminate an alloca use. 2006-12-03 01:18:34 +00:00
msgs
netgroup Add new Makefile knob, USE_FORT, which extends USE_SSP by turning on the 2007-05-28 12:06:17 +00:00
netstat bump date 2007-08-30 18:52:36 +00:00
newgrp don't zero out the wrong pointer. from Anon Ymous 2007-10-05 14:48:10 +00:00
newsyslog WARNS=4, pass lint 2007-07-22 17:03:13 +00:00
nfsstat remove nqnfs leftovers. 2007-08-05 22:06:14 +00:00
nice From Liam Foy: 2005-10-05 21:20:46 +00:00
nl WFORMAT is no more... 2006-10-08 17:52:28 +00:00
nohup Improve command description, from jmc, jaredy, and tom, all @openbsd. 2005-07-14 22:16:39 +00:00
openssl Add new Makefile knob, USE_FORT, which extends USE_SSP by turning on the 2007-05-28 12:06:17 +00:00
pagesize
passwd Add new Makefile knob, USE_FORT, which extends USE_SSP by turning on the 2007-05-28 12:06:17 +00:00
paste Remove duplicate #includes 2007-01-17 00:21:43 +00:00
patch PR/34627: Lubomir Kundrak: patch(1) segfaults, when fed from stdin in batch 2006-09-26 16:36:07 +00:00
pathchk
pcc Initial version of reachover Makefiles for pcc 2007-09-21 21:10:54 +00:00
pkill Allow the -l (long format) option to be used with pkill too. 2007-03-21 20:05:18 +00:00
pmap VM_MAP_BUSY, VM_MAP_WANTLOCK are no more. 2007-07-21 20:54:12 +00:00
pmc - add volatile 2006-10-22 16:25:19 +00:00
pr fix typos 2007-04-29 20:23:34 +00:00
printenv
printf Remember to consume input bytes when processing '\0nnn' for %b formats 2005-03-22 23:55:46 +00:00
progress Dynamically allocate the buffer used for reading data from the input 2007-06-06 17:49:14 +00:00
pwhash PR/31144: YOMURA Masanori: pwhash -S/-b never use optarg 2006-03-05 08:50:58 +00:00
qsubst
quota eliminate MFSTYPENAME 2007-07-17 21:36:18 +00:00
radioctl u_long -> u_int in many places. i guess radioctl(1) was broken on sparc64. 2006-05-11 01:24:14 +00:00
rdist Add new Makefile knob, USE_FORT, which extends USE_SSP by turning on the 2007-05-28 12:06:17 +00:00
renice - Exit with non-zero on errors (from Liam Foy) 2005-10-09 18:23:52 +00:00
rev
revoke Remove advertising clause from all of my stuff. 2007-01-09 12:49:36 +00:00
rfcomm_sppd Add new Makefile knob, USE_FORT, which extends USE_SSP by turning on the 2007-05-28 12:06:17 +00:00
rlogin Add new Makefile knob, USE_FORT, which extends USE_SSP by turning on the 2007-05-28 12:06:17 +00:00
rpcgen xdr sucks. sprinkle some (void *) casts into it's functions taking void **, 2006-05-11 17:11:57 +00:00
rpcinfo Since Christos cleaned up the use of libc internals here, we can switch 2007-05-28 18:12:06 +00:00
rs We have spell again, xref it. From YOMURA Masanori in private mail. 2005-09-11 23:22:03 +00:00
rsh Add new Makefile knob, USE_FORT, which extends USE_SSP by turning on the 2007-05-28 12:06:17 +00:00
rup Add new Makefile knob, USE_FORT, which extends USE_SSP by turning on the 2007-05-28 12:06:17 +00:00
ruptime Add new Makefile knob, USE_FORT, which extends USE_SSP by turning on the 2007-05-28 12:06:17 +00:00
rusers Add new Makefile knob, USE_FORT, which extends USE_SSP by turning on the 2007-05-28 12:06:17 +00:00
rwall Add new Makefile knob, USE_FORT, which extends USE_SSP by turning on the 2007-05-28 12:06:17 +00:00
rwho Add new Makefile knob, USE_FORT, which extends USE_SSP by turning on the 2007-05-28 12:06:17 +00:00
script PR/36955: Ighighi: Use fseeko instead of fseek. 2007-09-09 12:20:27 +00:00
sdiff PR/34630: GNU sdiff(1) replacement 2007-02-18 22:13:42 +00:00
sdpquery Add new Makefile knob, USE_FORT, which extends USE_SSP by turning on the 2007-05-28 12:06:17 +00:00
sed provide _POSIX2_LINE_MAX if not there. 2007-04-17 20:30:29 +00:00
seq Add missing DPADD for LIBMATH 2006-01-07 07:12:27 +00:00
shar UCB copyrights are supposed to be three clause these days 2005-06-30 02:36:35 +00:00
shlock PR/30819: Peter Postma: src/usr.bin/shlock has no license 2006-10-07 21:13:00 +00:00
showmount Add new Makefile knob, USE_FORT, which extends USE_SSP by turning on the 2007-05-28 12:06:17 +00:00
shuffle Xref shuffle(1) from random(6), and vice versa 2007-03-20 16:12:40 +00:00
skey Mark up authors with .An. From YOMURA Masanori in private mail. 2005-09-11 23:25:32 +00:00
skeyinfo Add new Makefile knob, USE_FORT, which extends USE_SSP by turning on the 2007-05-28 12:06:17 +00:00
skeyinit Add new Makefile knob, USE_FORT, which extends USE_SSP by turning on the 2007-05-28 12:06:17 +00:00
sockstat Document the option -n and bump date. 2006-07-14 21:14:24 +00:00
soelim
sort <ctype.h> is unused. What's still needed is <sys/cdefs.h> (which is 2007-02-21 20:15:17 +00:00
spell use c99 initializers. 2006-10-22 16:36:44 +00:00
split Add a new command-line option "-n chunk_count", that splits the input 2007-05-31 01:35:35 +00:00
ssh Add new Makefile knob, USE_FORT, which extends USE_SSP by turning on the 2007-05-28 12:06:17 +00:00
stat PR/34662: martijnb at atlas dot ipv6 dot stack dot nl: readlink doesn't 2006-10-07 10:41:50 +00:00
string2key Add linking against -lutil to pick up estrdup(). Fixes evbsh5 build. 2006-08-31 07:18:39 +00:00
su Add new Makefile knob, USE_FORT, which extends USE_SSP by turning on the 2007-05-28 12:06:17 +00:00
systat Add new Makefile knob, USE_FORT, which extends USE_SSP by turning on the 2007-05-28 12:06:17 +00:00
tail Coverity CID 3204: The USE_SLEEP case can close the fp, and break does 2006-05-24 16:34:25 +00:00
talk Add new Makefile knob, USE_FORT, which extends USE_SSP by turning on the 2007-05-28 12:06:17 +00:00
tcopy Coverity CID 1565: Fix memory leak. 2006-04-30 23:30:13 +00:00
tee
telnet Add new Makefile knob, USE_FORT, which extends USE_SSP by turning on the 2007-05-28 12:06:17 +00:00
tftp Add new Makefile knob, USE_FORT, which extends USE_SSP by turning on the 2007-05-28 12:06:17 +00:00
time Make -p, -l, and -c exclusive (any one turns off the other two). 2007-02-26 21:56:17 +00:00
tip Move #include <libgen.h> from tip.h to the place where it's really needed. 2007-03-09 23:45:21 +00:00
tn3270 Add new Makefile knob, USE_FORT, which extends USE_SSP by turning on the 2007-05-28 12:06:17 +00:00
top Fix a display problem observed when transitioning from "nn processes" to 2007-08-17 21:49:26 +00:00
touch Coverty 1212: Avoid close(-1). 2006-03-18 11:15:00 +00:00
tput Usage should exit with to according to posix (from Liam Foy). 2005-07-30 14:43:13 +00:00
tr Remove duplicate #includes 2007-01-17 00:21:43 +00:00
true
tset Rename cat to tset_cat so that coverity does not get confused by the global 2006-05-01 23:18:37 +00:00
tsort WARNS=3 2005-07-19 23:18:31 +00:00
tty
ul
uname Sort options alphabetically. 2005-03-27 18:41:22 +00:00
unexpand
unifdef Coverity CID 1206: Confusion between && and || leads to indexing an array 2006-04-30 23:56:42 +00:00
uniq Don't limit lines to 8K. 2007-01-06 02:18:24 +00:00
units dipotre -> dioptre. 2007-02-15 22:37:27 +00:00
unvis
usbhidaction Sprinkle static, pass lib, warns=4 2006-05-19 14:43:58 +00:00
usbhidctl Sync usage with manpage. 2006-10-26 11:12:41 +00:00
users
utoppya Sort SEE ALSO; mark up -; end sentence with dot. 2006-04-04 20:45:41 +00:00
uudecode implement HOST_CPPFLAGS+= -DNO_BASE64 2006-09-24 21:43:14 +00:00
uuencode Add -m to SYNOPSIS. 2006-09-24 15:56:42 +00:00
uuidgen
vacation PR/36644: Edgar Fuss: vacation does not work if homedir not present 2007-07-13 14:52:15 +00:00
vgrind Need assert.h now. 2006-05-01 05:14:22 +00:00
vi exit(3) needs stdlib.h. 2007-01-22 11:46:43 +00:00
vis
vmstat Add new Makefile knob, USE_FORT, which extends USE_SSP by turning on the 2007-05-28 12:06:17 +00:00
vndcompress Make example consistent (fix typo in file names). 2007-03-24 23:16:11 +00:00
w Use the UTX sizes + 1 for the struct to save space. 2006-06-22 17:57:31 +00:00
wall Add new Makefile knob, USE_FORT, which extends USE_SSP by turning on the 2007-05-28 12:06:17 +00:00
wc de-__P, ANSIfy prototypes 2006-01-04 01:58:05 +00:00
what
whatis PR/9742: whatis doesn't deal with '.' in manpage names (John Hawkinson) 2006-09-26 04:16:24 +00:00
whereis Apply patch from Michael van Elst to fix PR bin/34114: 2006-07-30 11:50:29 +00:00
who Use Pq. 2007-01-18 00:15:05 +00:00
whois PR/36957: sm: whois does not follow AfriNIC referral 2007-09-09 18:31:45 +00:00
window from Anon Ymous: 2006-12-18 20:04:55 +00:00
write Add new Makefile knob, USE_FORT, which extends USE_SSP by turning on the 2007-05-28 12:06:17 +00:00
xargs Bring in xargs from FreeBSD to gain -I, -J etc. but keep our GNU compatible 2007-04-18 15:56:06 +00:00
xinstall - When compiling nbinstall for the tool chain, use the target strip 2007-06-28 19:05:55 +00:00
xlint tlst[inptype(...)] is bad C code because inptype() can realloc tlst 2007-09-28 21:53:50 +00:00
xstr Remove unneeded macro default arguments. From YOMURA Masanori in private mail. 2005-09-11 23:29:44 +00:00
yacc fix spelling of accommodate; from Zapher. 2006-11-24 19:46:58 +00:00
yes Make yes exit if a write fails (due to, e.g., EPIPE or revocation). 2006-04-24 05:24:03 +00:00
ypcat Add new Makefile knob, USE_FORT, which extends USE_SSP by turning on the 2007-05-28 12:06:17 +00:00
ypmatch Add new Makefile knob, USE_FORT, which extends USE_SSP by turning on the 2007-05-28 12:06:17 +00:00
ypwhich Add new Makefile knob, USE_FORT, which extends USE_SSP by turning on the 2007-05-28 12:06:17 +00:00
Makefile Add the newgrp(1) utility, which changes effective group ID. This 2007-06-21 14:09:23 +00:00
Makefile.inc WFORMAT is no more... 2006-10-08 17:52:28 +00:00