Home | History | Annotate | Download | only in kern
History log of /src/sys/kern/subr_humanize.c
RevisionDateAuthorComments
 1.2  12-Mar-2019  kre This had a similar problem to that reported in PR lib/54053
for the userland (libc) version of humanize_number(),
except in a much more limited, and less harmful, way ...

If the value to be printed was > ~0/10 (eg ~0 itself) and
the buffer given was big enough to hold it, "umax" would overflow,
and the expected result was not produced (here at least the effect was
simply to scale the result for huge values by one unnecessary step,
rather than maximally scale all values usually generating 0E, but
incorrect nonetheless.)
 1.1  02-Oct-2009  pooka branches: 1.1.4; 1.1.66;
Give humanize_number & format_bytes their own spots in the sun and move
from kern_subr to subr_humanize.
 1.1.66.1  10-Jun-2019  christos Sync with HEAD
 1.1.4.2  11-Mar-2010  yamt sync with head
 1.1.4.1  02-Oct-2009  yamt file subr_humanize.c was added on branch yamt-nfs-mp on 2010-03-11 15:04:18 +0000

RSS XML Feed