NetBSD/usr.bin
christos d727506fb5 From Anon Ymous:
- Introduce date_to_tm() and hl_date_to_tm() to parse the date and
  headline date a bit more efficiently.
- If 'tm_isdst' is determined, let strftime(3) handle the '%Z' and
  '%z' formats.  Otherwise, output "-0000" and "???", respectively, to
  help preserve with alignment; strftime(3) will output an empty
  string in these case.
- Change fail() to use the '-d' flag (which sets the 'debug' variable)
  rather than the "debug" _environment_ variable.  This is more
  consistent with other warnings.
- Don't use gcc C extensions, e.g., "case LOW ... HIGH:".
- Define is_WSP() in def.h to be an inline function that for checks
  whitespace (WSP = ' ' or '\t'), as defined in RFC 2822.  Use it
  consistently in place of isblank().
- For consistency, rename skip_blank() to skip_WSP().
- Add inline skip_space() to complement skip_blank() (now skip_WSP).
- Check all ctype(3) calls for argument range issues.
- Whitespace and comment cleanup/changes.
2007-10-23 14:58:43 +00:00
..
apply Fix example; from sat@freebsd via jmc@openbsd. 2006-12-24 10:07:18 +00:00
apropos
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
banner
basename
bdes Add new Makefile knob, USE_FORT, which extends USE_SSP by turning on the 2007-05-28 12:06:17 +00:00
biff
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
calendar typo 2007-10-14 11:30:37 +00:00
cap_mkdb
cdplay Correct documentation: 2007-04-23 11:47:55 +00:00
checknr
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
colcrt
colrm
column - Change all emalloc to ecalloc, since the previous implementation of emalloc 2006-12-09 21:42:40 +00:00
comm
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
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
dirname
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
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
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
genassym Remove unneeded \ from awk script. 2006-10-21 04:48:29 +00:00
gencat More code clean up (KNF): de-__P and ANSI'ify function declarations 2007-10-11 03:42:38 +00:00
getconf Add _SC_NPROCESSORS_ONLN and _SC_NPROCESSORS_CONF for sysconf(). These 2007-10-15 14:12:54 +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
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
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
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 From Anon Ymous: 2007-10-23 14:58:43 +00:00
make Allow .PATH<suffix> to be used for .include "". 2007-10-22 15:36:13 +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
midiplay Bump date for previous. New sentence, new line. 2006-07-02 01:48:51 +00:00
mixerctl
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
mkfifo
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 From Anon Ymous: 2007-10-17 21:07:49 +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
nl WFORMAT is no more... 2006-10-08 17:52:28 +00:00
nohup
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 Convert to using raise_default_signal(3). 2007-10-14 04:54:34 +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 Merge from vmlocking: 2007-10-10 20:42:20 +00:00
pmc - add volatile 2006-10-22 16:25:19 +00:00
pr Convert to using raise_default_signal(3). 2007-10-14 11:21:32 +00:00
printenv
printf
progress Dynamically allocate the buffer used for reading data from the input 2007-06-06 17:49:14 +00:00
pwhash
qsubst
quota eliminate MFSTYPENAME 2007-07-17 21:36:18 +00:00
radioctl
rdist Add new Makefile knob, USE_FORT, which extends USE_SSP by turning on the 2007-05-28 12:06:17 +00:00
renice
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
rpcinfo Since Christos cleaned up the use of libc internals here, we can switch 2007-05-28 18:12:06 +00:00
rs
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
shar
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
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 Make the license match to grutil.c 2007-10-18 15:41:50 +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
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
tput
tr Remove duplicate #includes 2007-01-17 00:21:43 +00:00
true
tset
tsort
tty
ul
uname
unexpand
unifdef
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
usbhidctl Sync usage with manpage. 2006-10-26 11:12:41 +00:00
users
utoppya
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
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
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
yacc fix spelling of accommodate; from Zapher. 2006-11-24 19:46:58 +00:00
yes
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