misc/118461: humanize_number(3) incorrectly formats values from 1048051712 to 1048575999 as "1000".

Ricardo Nabinger Sanchez rnsanchez at wait4.org
Thu Dec 6 06:10:02 PST 2007


The following reply was made to PR misc/118461; it has been noted by GNATS.

From: Ricardo Nabinger Sanchez <rnsanchez at wait4.org>
To: Edward Tomasz Napierala <trasz at FreeBSD.org>
Cc: freebsd-gnats-submit at FreeBSD.org
Subject: Re: misc/118461: humanize_number(3) incorrectly formats values from
 1048051712 to 1048575999 as "1000".
Date: Thu, 6 Dec 2007 11:46:47 -0200

 On Thu, 6 Dec 2007 13:22:09 GMT
 Edward Tomasz Napierala <trasz at FreeBSD.org> wrote:
 
 > >Description:
 > For values in range <1048051712, 1048575999>, humanize number
 > incorrectly formats them as "1000" - the "M" prefix is missing.
 > 
 > This affects "df -h" output.  (That's how I found it.)
 
 You may want to take a look at 102694, which has additional info on this
 matter (http://www.freebsd.org/cgi/query-pr.cgi?pr=102694).
 
 -- 
 Ricardo Nabinger Sanchez                   rnsanchez at wait4.org
 Powered by FreeBSD                  http://rnsanchez.wait4.org
 
   "Left to themselves, things tend to go from bad to worse."


More information about the freebsd-bugs mailing list