freebsd-src/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 Remove unnecessary make logic added in r319339 2017-07-18 17:29:12 +00:00
args.c dd: add status=progress support 2018-08-08 21:37:02 +00:00
conv.c General further adoption of SPDX licensing ID tags. 2017-11-20 19:49:47 +00:00
conv_tab.c General further adoption of SPDX licensing ID tags. 2017-11-20 19:49:47 +00:00
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 Reorganize the handling all-zeroes terminal block in sparse mode 2016-02-18 08:44:16 +00:00
Makefile dd: Incorporate some changes from imp for status=progress 2018-08-15 19:46:13 +00:00
Makefile.depend DIRDEPS_BUILD: Update dependencies. 2017-10-31 00:07:04 +00:00
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 Reorganize the handling all-zeroes terminal block in sparse mode 2016-02-18 08:44:16 +00:00
ref.oldascii
ref.oldebcdic
ref.oldibm
ref.pareven
ref.parnone
ref.parodd
ref.parset
ref.swab
ref.ucase