freebsd-nq/usr.bin
Dag-Erling Smørgrav e9dc4f3b74 If the local file does not exist, or is a regular file, and we're not trying
to resume a transfer, download the requested document into a temporary file
which we later rename.  This avoids leaving half-completed files around in
case of a crash (it'll still leave a half-completed file, but with a  hope-
fully non-conflicting name), and should reduce the need for human inter-
vention on ports-building machines.

The temporary file name for "foo/bar" is constructed by invoking mkstemps()
with the pattern "foo/.fetch.XXXXXX.bar"

Requested by:	obrien
2001-09-08 15:17:15 +00:00
..
apply Revert to version 1.16 which was more correct than either of my attempts. 2001-08-21 12:54:15 +00:00
ar mdoc(7) police: utilize the new .Ex macro. 2001-08-15 09:09:47 +00:00
at SECURITY. 2001-09-04 16:15:51 +00:00
banner Fixed the race caused by not checking the result of fgets(3): 2001-07-19 08:07:09 +00:00
basename mdoc(7) police: utilize the new .Ex macro. 2001-08-15 09:09:47 +00:00
biff Remove whitespace at EOL. 2001-07-15 08:06:20 +00:00
brandelf mdoc(7) police: removed HISTORY info from the .Os call. 2001-07-10 14:16:33 +00:00
bzip2 Build/install bzip2 documentation (info page). 2001-07-12 14:44:17 +00:00
c89
calendar Add myself. 2001-08-31 11:35:18 +00:00
cap_mkdb mdoc(7) police: utilize the new .Ex macro. 2001-08-15 09:09:47 +00:00
chat Use STD{ERR,IN,OUT}_FILENO instead of their numeric values. The 2001-07-26 11:02:39 +00:00
checknr Remove whitespace at EOL. 2001-07-15 08:06:20 +00:00
chflags mdoc(7) police: utilize the new .Ex macro. 2001-08-15 09:09:47 +00:00
chkey Fixed bitrot in DPADD in previous commit. 2001-07-30 11:16:39 +00:00
chpass Use CFLAGS, not COPTS, in the Makefile. bsd.prog.mk conveniently adds 2001-09-05 20:10:59 +00:00
cksum mdoc(7) police: utilize the new .Ex macro. 2001-08-15 09:09:47 +00:00
cmp Remove whitespace at EOL. 2001-07-15 08:06:20 +00:00
col Remove the misnamed `xmalloc' and replace its uses with the realloc (along 2001-07-24 14:14:11 +00:00
colcrt Remove whitespace at EOL. 2001-07-15 08:06:20 +00:00
colldef yyerror() is a printflike function 2001-07-24 12:20:17 +00:00
colrm Remove whitespace at EOL. 2001-07-15 08:06:20 +00:00
column mdoc(7) police: utilize the new .Ex macro. 2001-08-15 09:09:47 +00:00
comm mdoc(7) police: utilize the new .Ex macro. 2001-08-15 09:09:47 +00:00
compile_et
compress mdoc(7) police: utilize the new .Ex macro. 2001-08-15 09:09:47 +00:00
ctags Print a space between the function name and line number. 2001-08-16 16:18:14 +00:00
cut Remove whitespace at EOL. 2001-07-15 08:06:20 +00:00
dig
dirname
dnskeygen
dnsquery
doscmd Remove MAP_INHERIT flag from mmaps. 2001-08-25 18:06:32 +00:00
du Use the correct blocksize when invoked with both -h and -k 2001-09-04 09:43:31 +00:00
ee Exit gracefully when a SIGHUP is received. This prevents ee from going into 2001-08-31 21:50:06 +00:00
enigma Fix the type of the NULL arg to execl() 2001-07-09 09:24:06 +00:00
env
expand mdoc(7) police: removed HISTORY info from the .Os call. 2001-07-10 14:16:33 +00:00
false Remove whitespace at EOL. 2001-07-15 08:06:20 +00:00
fetch If the local file does not exist, or is a regular file, and we're not trying 2001-09-08 15:17:15 +00:00
file Use a build-tool to create the .mgc files. 2001-08-17 17:21:38 +00:00
file2c Spell "FreeBSD" with "F" and "BSD" in uppercase. 2001-08-13 16:33:00 +00:00
find The implementation of -flags was broken and did not match the (poorly) 2001-09-04 16:09:01 +00:00
finger Replace the condemned access(2) by stat(2), 2001-08-08 21:22:48 +00:00
fmt The old fmt(1) always did what the new ``-l 8'' option does. 2001-08-15 14:53:55 +00:00
fold
from Remove whitespace at EOL. 2001-07-15 08:06:20 +00:00
fstat SECURITY: Drop `setgid kmem' bit as early as possible. 2001-08-31 16:26:37 +00:00
fsync MFS: in HISTORY section, fix release number of first appearance 2001-08-01 12:15:21 +00:00
ftp strtol -> strtoll (for off_t file size) 2001-09-01 23:36:40 +00:00
gcore Fix usage message, the executable is optional. 2001-08-15 21:25:50 +00:00
gencat mdoc(7) police: utilize the new .Ex macro. 2001-08-15 09:09:47 +00:00
getconf mdoc(7) police: utilize the new .Ex macro. 2001-08-15 09:09:47 +00:00
getopt mdoc(7) police: join split punctuation to macro calls. 2001-08-10 17:35:21 +00:00
gprof Add hint about how we name profiled libraries (append _p at the right place). 2001-08-14 17:48:29 +00:00
gprof4
head mdoc(7) police: utilize the new .Ex macro. 2001-08-15 09:09:47 +00:00
hesinfo Remove whitespace at EOL. 2001-07-15 08:06:20 +00:00
hexdump File positions are off_t nowdays, not long, so: 2001-09-01 22:42:47 +00:00
host
id mdoc(7) police: utilize the new .Ex macro. 2001-08-15 09:09:47 +00:00
indent Remove whitespace at EOL. 2001-07-15 08:06:20 +00:00
ipcrm Remove whitespace at EOL. 2001-07-15 08:06:20 +00:00
ipcs
join mdoc(7) police: utilize the new .Ex macro. 2001-08-15 09:09:47 +00:00
jot mdoc(7) police: utilize the new .Ex macro. 2001-08-15 09:09:47 +00:00
kdump Remove whitespace at EOL. 2001-07-15 08:06:20 +00:00
kenv Spell "FreeBSD" with "F" and "BSD" in uppercase. 2001-08-13 16:33:00 +00:00
keylogin Remove whitespace at EOL. 2001-07-15 08:06:20 +00:00
keylogout
killall mdoc(7) police: 2001-08-07 15:48:51 +00:00
ktrace Remove whitespace at EOL. 2001-07-15 08:06:20 +00:00
lam Constify, staticize, and set WARNS=2. 2001-08-06 23:20:06 +00:00
last Document -d in usage. 2001-08-05 16:01:34 +00:00
lastcomm Remove whitespace at EOL. 2001-07-15 08:06:20 +00:00
ldd mdoc(7) police: removed HISTORY info from the .Os call. 2001-07-10 14:16:33 +00:00
leave Use STD{ERR,IN,OUT}_FILENO instead of their numeric values. The 2001-07-26 11:02:39 +00:00
less
lessecho
lesskey
lex ``recognized -> recognize'' where appropriate. 2001-08-23 21:13:31 +00:00
limits Remove whitespace at EOL. 2001-07-15 08:06:20 +00:00
locate mdoc(7) police: 2001-08-07 15:48:51 +00:00
lock Remove whitespace at EOL. 2001-07-15 08:06:20 +00:00
lockf mdoc(7) police: s/BSD/.Bx/ where appropriate. 2001-08-14 10:01:54 +00:00
logger The default for -p was ``kern.notice'' in the -h case. 2001-09-06 12:48:44 +00:00
login mdoc(7) police: tighten label width. 2001-09-04 10:24:52 +00:00
logname mdoc(7) police: utilize the new .Ex macro. 2001-08-15 09:09:47 +00:00
look Remove whitespace at EOL. 2001-07-15 08:06:20 +00:00
lorder
lsvfs
m4 Remove the local basename in favor of the libc version. 2001-07-24 14:09:47 +00:00
mail File positions are off_t nowdays, not long, so: 2001-09-02 14:40:51 +00:00
make mdoc(7) police: protect trailing full stops of abbreviations 2001-08-10 13:45:36 +00:00
makewhatis mdoc(7) police: removed punctuation after the last SEE ALSO xref. 2001-07-10 18:00:19 +00:00
mesg
minigzip Remove whitespace at EOL. 2001-07-15 08:06:20 +00:00
mkdep Remove whitespace at EOL. 2001-07-15 08:06:20 +00:00
mkfifo mdoc(7) police: utilize the new .Ex macro. 2001-08-15 09:09:47 +00:00
mklocale Initialize fp in main() 2001-08-13 21:57:12 +00:00
mkstr
mktemp Remove whitespace at EOL. 2001-07-15 08:06:20 +00:00
msgs File positions are off_t nowdays, not long, so: 2001-09-03 04:30:46 +00:00
mt mdoc(7) police: s/BSD/.Bx/ where appropriate. 2001-08-14 10:01:54 +00:00
ncal mdoc(7) police: remove extraneous .Pp before and/or after .Sh. 2001-07-09 09:54:33 +00:00
ncplist
ncplogin Remove whitespace at EOL. 2001-07-15 08:06:20 +00:00
netstat Yay! 2001-09-07 15:18:45 +00:00
newkey Fixed bitrot in DPADD in previous commit. 2001-07-30 11:16:39 +00:00
nfsstat mdoc(7) police: removed HISTORY info from the .Os call. 2001-07-10 14:16:33 +00:00
nice Remove whitespace at EOL. 2001-07-15 08:06:20 +00:00
nl mdoc(7) police: utilize the new .Ex macro. 2001-08-15 09:09:47 +00:00
nm Expland the emalloc to do the testing at the place of mallocing. 2001-07-24 14:08:02 +00:00
nohup mdoc(7) police: bump document date for the previous delta, fix markup. 2001-08-07 13:40:07 +00:00
objformat Remove whitespace at EOL. 2001-07-15 08:06:20 +00:00
opieinfo Remove the WANT_INSECURE_OPIE option - it is now a default. This is not 2001-08-12 18:47:56 +00:00
opiekey Remove the WANT_INSECURE_OPIE option - it is now a default. This is not 2001-08-12 18:47:56 +00:00
opiepasswd Remove the WANT_INSECURE_OPIE option - it is now a default. This is not 2001-08-12 18:47:56 +00:00
pagesize mdoc(7) police: removed HISTORY info from the .Os call. 2001-07-10 14:16:33 +00:00
passwd Remove whitespace at EOL. 2001-07-15 08:06:20 +00:00
paste mdoc(7) police: utilize the new .Ex macro. 2001-08-15 09:09:47 +00:00
pr Remove whitespace at EOL. 2001-07-15 08:06:20 +00:00
printenv
printf Remove whitespace at EOL. 2001-07-15 08:06:20 +00:00
quota Remove whitespace at EOL. 2001-07-15 08:06:20 +00:00
ranlib Expand emalloc in-place, and remove the `rname' basename() implimenation. 2001-07-24 14:06:19 +00:00
renice can not -> cannot 2001-08-05 22:07:27 +00:00
rev
rlogin mdoc(7) police: removed HISTORY info from the .Os call. 2001-07-10 14:16:33 +00:00
rpcgen Don't overflow a buffer from command line arguments. 2001-08-20 09:43:04 +00:00
rpcinfo Remove whitespace at EOL. 2001-07-15 08:06:20 +00:00
rs Remove whitespace at EOL. 2001-07-15 08:06:20 +00:00
rsh Use STD{ERR,IN,OUT}_FILENO instead of their numeric values. The 2001-07-26 11:02:39 +00:00
rup Remove whitespace at EOL. 2001-07-15 08:06:20 +00:00
ruptime Remove whitespace at EOL. 2001-07-15 08:06:20 +00:00
rusers mdoc(7) police: removed HISTORY info from the .Os call. 2001-07-10 14:16:33 +00:00
rwall mdoc(7) police: removed HISTORY info from the .Os call. 2001-07-10 14:16:33 +00:00
rwho mdoc(7) police: removed HISTORY info from the .Os call. 2001-07-10 14:16:33 +00:00
sasc
script Use STD{ERR,IN,OUT}_FILENO instead of their numeric values. The 2001-07-26 11:02:39 +00:00
sed mdoc(7) police: utilize the new .Ex macro. 2001-08-15 09:09:47 +00:00
shar mdoc(7) police: removed HISTORY info from the .Os call. 2001-07-10 14:16:33 +00:00
showmount mdoc(7) police: removed HISTORY info from the .Os call. 2001-07-10 14:16:33 +00:00
size
sockstat Spell "FreeBSD" with "F" and "BSD" in uppercase. 2001-08-13 16:33:00 +00:00
soelim mdoc(7) police: protect trailing full stops of abbreviations 2001-08-10 13:45:36 +00:00
split Use CFLAGS, not COPTS, in the Makefile. bsd.prog.mk conveniently adds 2001-09-05 20:10:59 +00:00
strings Remove whitespace at EOL. 2001-07-15 08:06:20 +00:00
strip
su Back out (with prejudice) the last WARNS=2 fix. I cannot understand 2001-09-07 16:20:38 +00:00
symorder Remove whitespace at EOL. 2001-07-15 08:06:20 +00:00
systat Convert systat(1) to use the new devstat interface. 2001-09-06 04:06:12 +00:00
tail File positions are off_t nowdays, not long, so: 2001-09-01 22:22:45 +00:00
talk Print the peer's name and address in the "Connection establish" 2001-08-09 06:45:35 +00:00
tconv mdoc(7) police: join split punctuation to macro calls. 2001-08-10 17:35:21 +00:00
tcopy Initialize msg in main() 2001-08-13 21:58:16 +00:00
tee mdoc(7) police: utilize the new .Ex macro. 2001-08-15 09:09:47 +00:00
telnet Manually unifdef(1) CRAY, UNICOS, hpux and sun uselsess code. 2001-08-29 14:16:17 +00:00
tftp Remove whitespace at EOL. 2001-07-15 08:06:20 +00:00
time Remove whitespace at EOL. 2001-07-15 08:06:20 +00:00
tip mdoc(7) police: protect trailing full stops of abbreviations 2001-08-10 13:45:36 +00:00
top Generate top.local.h and manpage dynamically, with sed(1) script. 2001-07-12 15:07:30 +00:00
touch mdoc(7) police: utilize the new .Ex macro. 2001-08-15 09:09:47 +00:00
tput mdoc(7) police: sort xrefs. 2001-08-07 13:41:38 +00:00
tr mdoc(7) police: utilize the new .Ex macro. 2001-08-15 09:09:47 +00:00
true Remove whitespace at EOL. 2001-07-15 08:06:20 +00:00
truncate * Update author's e-mail address. 2001-08-16 08:40:54 +00:00
truss In get_string(), 0-terminate the contents of buf ``just in case''; 2001-08-28 21:27:36 +00:00
tset mdoc(7) police: s/BSD/.Bx/ where appropriate. 2001-08-14 10:01:54 +00:00
tsort Remove whitespace at EOL. 2001-07-15 08:06:20 +00:00
tty
uac Remove whitespace at EOL. 2001-07-15 08:06:20 +00:00
ul Remove whitespace at EOL. 2001-07-15 08:06:20 +00:00
uname mdoc(7) police: utilize the new .Ex macro. 2001-08-15 09:09:47 +00:00
unexpand
unifdef mdoc(7) police: removed HISTORY info from the .Os call. 2001-07-10 14:16:33 +00:00
uniq mdoc(7) police: utilize the new .Ex macro. 2001-08-15 09:09:47 +00:00
units Remove whitespace at EOL. 2001-07-15 08:06:20 +00:00
unvis mdoc(7) police: removed HISTORY info from the .Os call. 2001-07-10 14:16:33 +00:00
usbhidctl
users mdoc(7) police: removed HISTORY info from the .Os call. 2001-07-10 14:16:33 +00:00
uudecode
uuencode Remove whitespace at EOL. 2001-07-15 08:06:20 +00:00
vacation
vgrind mdoc(7) police: join split punctuation to macro calls. 2001-08-10 17:35:21 +00:00
vi Style fix: use .else where appropriate. 2001-08-09 07:03:11 +00:00
vis mdoc(7) police: removed HISTORY info from the .Os call. 2001-07-10 14:16:33 +00:00
vmstat SECURITY: Drop `setgid kmem' bit as early as possible. 2001-08-31 16:26:37 +00:00
w When -n is specified, don't attempt to turn hostnames found in utmp 2001-07-26 19:20:13 +00:00
wall Make ``wall -g'' really DTRT. 2001-09-05 15:31:07 +00:00
wc mdoc(7) police: utilize the new .Ex macro. 2001-08-15 09:09:47 +00:00
what mdoc(7) police: removed HISTORY info from the .Os call. 2001-07-10 14:16:33 +00:00
whereis mdoc(7) police: removed HISTORY info from the .Os call. 2001-07-10 14:16:33 +00:00
which Spell "FreeBSD" with "F" and "BSD" in uppercase. 2001-08-13 16:33:00 +00:00
who Remove whitespace at EOL. 2001-07-15 08:06:20 +00:00
whois Remove a trailing space at the end of a line. 2001-09-04 17:49:07 +00:00
window mdoc(7) police: 2001-08-07 15:48:51 +00:00
write
xargs Spelling police: extention -> extension. 2001-07-05 08:51:08 +00:00
xinstall Update -v documentation to match reality. 2001-08-21 15:59:55 +00:00
xlint Expand x{malloc,calloc,realloc,strdup} in-place. 2001-07-24 14:02:07 +00:00
xstr Remove whitespace at EOL. 2001-07-15 08:06:20 +00:00
yacc mdoc(7) police: removed HISTORY info from the .Os call. 2001-07-10 14:16:33 +00:00
yes mdoc(7) police: removed HISTORY info from the .Os call. 2001-07-10 14:16:33 +00:00
ypcat Remove whitespace at EOL. 2001-07-15 08:06:20 +00:00
ypmatch Remove whitespace at EOL. 2001-07-15 08:06:20 +00:00
ypwhich
Makefile Part II of libss retirement: zap mk_cmds too. 2001-08-20 06:23:35 +00:00
Makefile.inc