freebsd-skq/bin/dd
Kyle Evans ac5d5b054f dd(1): Correct padding in status=progress
Output padding is specified via outlen, which is set using the return value
of fprintf. Because it's printing that padding plus a trailing byte, it
grows by one each iteration rather than reflecting actual length.

Additionally, iec was sized improperly for scaling up similarly to si.
Fixing this revealed that the humanize_number(3) call to populate persec
was using the wrong width.

Submitted by:	Thomas Hurst <tom@hur.st>
Reviewed by:	imp
Approved by:	re (kib)
Differential Revision:	https://reviews.freebsd.org/D16960
2018-09-13 14:54:46 +00:00
..
tests
args.c dd: add status=progress support 2018-08-08 21:37:02 +00:00
conv_tab.c
conv.c
dd.1 dd: add status=progress support 2018-08-08 21:37:02 +00:00
dd.c dd: Incorporate some changes from imp for status=progress 2018-08-15 19:46:13 +00:00
dd.h dd: add status=progress support 2018-08-08 21:37:02 +00:00
extern.h dd(1): Kill off duplicate progress definition following r337865 2018-08-15 20:50:38 +00:00
gen.c
Makefile dd: Incorporate some changes from imp for status=progress 2018-08-15 19:46:13 +00:00
Makefile.depend
misc.c dd(1): Correct padding in status=progress 2018-09-13 14:54:46 +00:00
position.c dd: Incorporate some changes from imp for status=progress 2018-08-15 19:46:13 +00:00
ref.ascii
ref.ebcdic
ref.ibm
ref.lcase
ref.obs_zeroes
ref.oldascii
ref.oldebcdic
ref.oldibm
ref.pareven
ref.parnone
ref.parodd
ref.parset
ref.swab
ref.ucase