freebsd-skq/usr.bin
Dag-Erling Smørgrav 710668cad4 fread() returns 0 on eof or error, not EOF. This fixes the following
bug:

  "head -c <n>" never exit and loops forever (until it is killed),
  if the input stream has fewer bytes than specified (n).

PR:		bin/8225
Submitted-by:	FUJIMOTO Kensaku <fujimoto@oscar.elec.waseda.ac.jp>
1998-10-09 10:33:46 +00:00
..
apply
ar Install the legacy man file in section 1aout. 1998-09-07 06:01:37 +00:00
at Remove useless `BINOWN=root' now that it is the default. 1998-09-19 22:42:06 +00:00
banner
basename
biff
brandelf
c89
calendar
cap_mkdb
chat
checknr
chflags
chkey
chpass Remove useless `BINOWN=root' now that it is the default. 1998-09-19 22:42:06 +00:00
cksum Avoid infinite loop if read() fails consistently. 1998-09-16 15:53:25 +00:00
cmp
col
colcrt
colldef
colrm
column
comm
compile_et
compress
cpp
ctags
cut
dig
dirname
dnsquery
doscmd ELFize. In fact, doscmd is ELF natural -- there is no need for a loader 1998-09-24 01:11:45 +00:00
du Print correct total for -c option (previously, the total for the last 1998-09-11 15:53:08 +00:00
ee Use lpr' vs. lp' to print 1998-10-01 21:18:18 +00:00
env
error
expand
f2c
false
fetch Add -S flag; this is benign since fetch's behavior is unchanged if you 1998-09-20 00:01:26 +00:00
file Don't try to print out the signal number that caused core to be 1998-10-09 01:43:08 +00:00
file2c
find
finger
fmt
fold
fpr
from
fsplit
fstat
ftp
gcore Don't require an executable file name. If no executable image is 1998-09-14 10:09:30 +00:00
gencat
getopt
global
gprof Make profiling work for ELF. gprof now autodetects the format of 1998-09-07 23:32:00 +00:00
gprof4 Make profiling work for ELF. gprof now autodetects the format of 1998-09-07 23:32:00 +00:00
head fread() returns 0 on eof or error, not EOF. This fixes the following 1998-10-09 10:33:46 +00:00
hexdump
host
id Add "-P" display the id as a password file entry. 1998-08-21 06:47:58 +00:00
indent
ipcrm
ipcs
join
jot
kdump
key The elf build wants to link against libcrypt. 1998-08-31 00:42:21 +00:00
keyinfo Remove useless `BINOWN=root' now that it is the default. 1998-09-19 22:42:06 +00:00
keyinit Remove useless `BINOWN=root' now that it is the default. 1998-09-19 22:42:06 +00:00
keylogin
keylogout
killall Diagnostic rewritten in English. 1998-09-02 10:05:47 +00:00
ktrace
kzip Use -aout for kernels right now. This will have to be changed back if 1998-09-14 11:32:52 +00:00
lam
last
lastcomm
ldd Make ldd work on alpha. 1998-09-16 09:31:48 +00:00
leave
lex Backed out "fix for PR 7575". It was bogus. 1998-10-01 19:40:27 +00:00
limits Remove useless `BINOWN=root' now that it is the default. 1998-09-19 22:42:06 +00:00
locate
lock Remove useless `BINOWN=root' now that it is the default. 1998-09-19 22:42:06 +00:00
lockf
logger
login Use KJH's auth.conf parser to turn on/off Kerberos in userland. 1998-10-09 06:38:33 +00:00
logname
look Support multiple databases. For example 1998-08-31 16:38:23 +00:00
lorder
lsvfs Fixed anachronisms (nuked vfs type number; don't give a 1/6-baked list 1998-08-29 13:53:22 +00:00
m4 Make the builtin unix macro work as it should (well like Solaris's, 1998-09-07 22:09:13 +00:00
mail Move setting of 'crt' mail variable to {/usr/src}/etc/mail.rc. 1998-08-31 10:53:06 +00:00
make Set the `pc98' string to the MACHINE if machdep.ispc98 != 0. 1998-09-09 14:58:30 +00:00
makewhatis
mesg
minigzip
mk_cmds
mkdep Remove -n for ignoring system headers. Instead add finer grain shell 1998-09-13 09:39:39 +00:00
mkfifo
mklocale
mkstr
mktemp Sort cross references. 1998-08-31 16:41:09 +00:00
modstat
more
msgs
mt Don't bother trying to support Wangtek tapes on the alpha. 1998-10-03 10:58:54 +00:00
ncal
netstat Quick hack to allow netstat to compile once more: ifdef out MT_SOOPTS 1998-08-23 15:23:11 +00:00
newkey
nfsstat
nice
nm Install the legacy man file in section 1aout. 1998-09-07 06:01:37 +00:00
nohup
objformat Add links to addr2line, objcopy, and objdump. These exist only for 1998-09-16 04:11:15 +00:00
opieinfo
opiekey
opiepasswd
pagesize
passwd Use KJH's auth.conf parser to turn on/off Kerberos in userland. 1998-10-09 06:38:33 +00:00
paste
pr
printenv
printf
quota Remove useless `BINOWN=root' now that it is the default. 1998-09-19 22:42:06 +00:00
ranlib Install the legacy man file in section 1aout. 1998-09-07 06:01:37 +00:00
rdist
renice
rev
rlogin Use KJH's auth.conf parser to turn on/off Kerberos in userland. 1998-10-09 06:47:57 +00:00
rpcgen include <pthread.h> 1998-09-25 11:43:48 +00:00
rpcinfo
rs
rsh Use KJH's auth.conf parser to turn on/off Kerberos in userland. 1998-10-09 06:47:57 +00:00
rup
ruptime
rusers
rwall
rwho
sasc
script Mention default time between output flushes in manual page. 1998-09-29 01:49:49 +00:00
sed Terminate our output string correctly if we've got 1998-09-22 18:39:47 +00:00
shar
showmount
size Install the legacy man file in section 1aout. 1998-09-07 06:01:37 +00:00
soelim
split
strings Install the legacy man file in section 1aout. 1998-09-07 06:01:37 +00:00
strip Install the legacy man file in section 1aout. 1998-09-07 06:01:37 +00:00
su Fix bad option processing. 1998-09-21 07:47:53 +00:00
symorder
systat Quiet many compiler warnings. 1998-10-08 09:56:10 +00:00
tail
talk
tconv
tcopy
tee
telnet
tftp
time When exiting on SIGINT, exit with signal status 1998-08-24 10:17:20 +00:00
tip Some 64bit portability fixes. 1998-10-03 11:01:39 +00:00
tn3270
top Some fixes for swap space accounting. 1998-09-11 14:38:12 +00:00
touch
tput
tr
true
truss Use MACHINE_ARCH instead of MACHINE to detect x86 arch. 1998-10-07 13:46:09 +00:00
tset
tsort
tty
ul
uname
unexpand
unifdef
uniq
units Install using ${INSTALL}, not using `install'. 1998-09-20 21:38:12 +00:00
unvis
users
uudecode
uuencode
vacation
vgrind
vi Remove tcl from /usr/src, according to prior agreement. BTW, tcl-8.0 *is* 1998-09-05 12:25:55 +00:00
vis
vmstat Change the devstat generation number from an int to a long. The int-sized 1998-09-20 00:11:23 +00:00
w
wall
wc
what
whereis Also look in /usr/src/contrib. 1998-10-04 10:33:37 +00:00
which
who
whois
window
write
xargs
xinstall
xlint
xstr
yacc
yes
ypcat
ypmatch
ypwhich
Makefile Move truss from i386-specific to always-build. 1998-10-03 17:59:26 +00:00
Makefile.inc