ac5d5b054f
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 |
||
---|---|---|
.. | ||
tests | ||
args.c | ||
conv_tab.c | ||
conv.c | ||
dd.1 | ||
dd.c | ||
dd.h | ||
extern.h | ||
gen.c | ||
Makefile | ||
Makefile.depend | ||
misc.c | ||
position.c | ||
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 |