freebsd-skq/usr.bin
gavin ae037afd15 Fix transfer statistics in the "send file" case - The conditional used
to print the stats were using an uninitialised variable. [1]

Fix trasnfer statistics in the "receive file" case - the statistics struct
was being cleared both before and after the initial connect to the remote
server.  As a result, the printed time and calculated bandwidth covers
the time to connect ad well as the time to transfer the file.  This may
not be ideal, but now at least matches the "send file" case.

Found by:	clang static analyser [1]
Reviewed by:	imp
2010-06-27 14:21:08 +00:00
..
alias Make hash, type and ulimit available via execve(). 2010-04-25 17:38:53 +00:00
apply
ar Removed ar(1)'s support for compressed archives. This change removes 2010-05-17 09:37:59 +00:00
asa
at
atm
awk
banner
basename
bc - Fix signal handling in bc/dc. Now Ctrl-C terminates the execution. 2010-06-06 11:36:08 +00:00
biff
bluetooth
brandelf
bsdiff mdoc: move CAVEATS, BUGS and SECURITY CONSIDERATIONS sections to the 2010-05-13 12:07:55 +00:00
bzip2
bzip2recover
c89 mdoc: order prologue macros consistently by Dd/Dt/Os 2010-04-14 19:08:06 +00:00
c99 - Update GCC reference from 3.3 to 4.2 [1] 2010-06-17 14:37:47 +00:00
calendar fix memset() calls. 2010-06-09 10:36:25 +00:00
cap_mkdb
catman
chat
checknr
chkey
chpass mdoc: remove stray and 2010-05-11 23:08:22 +00:00
cksum
clang Install tblgen so partial / progressive builds are still possible. 2010-06-12 16:04:29 +00:00
cmp
col
colcrt
colldef
colrm
column mdoc: order prologue macros consistently by Dd/Dt/Os 2010-04-14 19:08:06 +00:00
comm mdoc: order prologue macros consistently by Dd/Dt/Os 2010-04-14 19:08:06 +00:00
compile_et
compress
cpio Enable liblzma support in libarchive 2010-05-10 15:28:44 +00:00
cpuset
csplit
csup mdoc: consistently spell our email addresses <foo@FreeBSD.org> 2010-05-19 08:57:53 +00:00
ctags
cut
dc - Axe out signal handling code, the shell will take care of this 2010-06-10 10:28:38 +00:00
dig
dirname
du Add a -t switch for masking output that's above or below certain thresholds. 2010-06-20 08:27:03 +00:00
ee
elf2aout
elfdump
enigma mdoc: order prologue macros consistently by Dd/Dt/Os 2010-04-14 19:08:06 +00:00
env
expand
false
fetch
file
file2c
find Revert r207677 which is considered a violation of style(9). 2010-05-06 17:06:36 +00:00
finger
fmt
fold
from
fstat
fsync
ftp
gcore
gencat
getconf
getent Change how getent utmpx works. 2010-04-02 11:05:59 +00:00
getopt
gprof
gzip Several style fixes as prompted by bde@. 2010-06-10 20:59:28 +00:00
head
hesinfo
hexdump Use same table markup as in hexdump.1 2010-06-11 06:04:14 +00:00
host
id
indent indent(1): don't treat bare '_t' as a type name when -ta is used 2010-04-15 21:41:07 +00:00
ipcrm
ipcs Make the char *n_name member of struct nlist 'const'. 2010-06-10 14:19:51 +00:00
join mdoc cleanup 2010-06-02 10:20:23 +00:00
jot Fix stuttering sequences and reverse ranges 2010-06-02 07:47:29 +00:00
kdump
keylogin
keylogout
killall mdoc: move remaining sections into consistent order 2010-05-13 12:08:11 +00:00
ktrace
ktrdump
lam
last
lastcomm Update xrefs from 4.3BSD to modern signal functions in various man pages. 2010-05-06 22:49:54 +00:00
ldd
leave
less Import of liblzma, xz, xzdec, lzmainfo from vendor branch 2010-05-10 06:59:50 +00:00
lessecho
lesskey
lex
limits
locale
locate
lock
lockf mdoc: order prologue macros consistently by Dd/Dt/Os 2010-04-14 19:08:06 +00:00
logger
login
logins
logname
look
lorder
lsvfs
lzmainfo Add two public headers missing in r207842 2010-05-10 07:47:31 +00:00
m4
mail mail(1) misses addresses when replying to all 2010-05-27 12:59:49 +00:00
make - Missing full stops 2010-05-12 02:00:11 +00:00
makewhatis
mesg
minigzip
ministat
mkdep
mkfifo
mklocale
mkstr
mktemp
mkuzip mdoc: consistently spell our email addresses <foo@FreeBSD.org> 2010-05-19 08:57:53 +00:00
msgs
mt
nc
ncal
ncplist
ncplogin
netstat
newgrp
newkey mdoc cleanup 2010-06-02 10:20:23 +00:00
nfsstat
nice
nl
nohup
nslookup
nsupdate
objformat
opieinfo
opiekey
opiepasswd
pagesize
passwd
paste
pathchk pathchk(1): Fix the example so it allows arbitrary pathnames. 2010-05-01 22:10:45 +00:00
perror
pr
printenv
printf
procstat
quota
renice
rev
revoke
rlogin
rpcgen Plug a memory leak. 2010-05-06 21:57:38 +00:00
rpcinfo
rs
rsh
rup
ruptime
rusers
rwall
rwho
script Remove WNOHANG flag from wait3(). 2010-04-30 22:33:49 +00:00
sed Make -r mean exactly the same thing as -E for increased compatibility 2010-03-31 17:40:13 +00:00
seq
setchannel mdoc: move remaining sections into consistent order 2010-05-13 12:08:11 +00:00
shar
showmount
smbutil
sockstat o Make sockstat -6 output more readable for long ipv6 2010-03-30 09:58:21 +00:00
split
stat stat: Allow -f %Sf to display the file flags symbolically. 2010-04-24 13:53:12 +00:00
su
systat Do not print first digits of IRQ number if whole number doesn't fit. 2010-06-18 18:18:03 +00:00
tabs
tail
talk
tar If the compressed data is larger than the uncompressed, 2010-06-14 02:56:45 +00:00
tcopy
tee
telnet
tftp Fix transfer statistics in the "send file" case - The conditional used 2010-06-27 14:21:08 +00:00
time
tip
top
touch
tput
tr
true
truncate
truss
tset
tsort
tty
ul
uname
unexpand
unifdef
uniq
units
unvis
unzip Check return value from archive_read_new(). 2010-06-09 18:59:07 +00:00
usbhidaction
usbhidctl
users
uudecode
uuencode
vacation
vgrind
vi
vis
vmstat Add a new column to the output of vmstat -z to indicate the number 2010-06-15 19:28:37 +00:00
w
wall
wc Use better type for siginfo (volatile sig_atomic_t instead of int). 2010-05-17 19:13:49 +00:00
what
whereis
which
who
whois
write
wtmpcvt err() takes a printf format. 2010-06-15 04:47:16 +00:00
xargs
xinstall
xlint Rename the ALIGN macro to LINT_ALIGN so it does not clash with machine/param.h 2010-04-09 15:21:11 +00:00
xstr
xz Add two public headers missing in r207842 2010-05-10 07:47:31 +00:00
xzdec Add two public headers missing in r207842 2010-05-10 07:47:31 +00:00
yacc
yes
ypcat
ypmatch
ypwhich Variable 'getmap' is unused. 2010-06-19 16:24:55 +00:00
Makefile Hook clang into the build on i386/amd64/powerpc. 2010-06-09 19:57:20 +00:00
Makefile.inc