misc/118461: humanize_number(3) incorrectly formats values
from 1048051712 to 1048575999 as "1000".
Edward Tomasz Napierala
trasz at FreeBSD.org
Thu Dec 6 07:10:02 PST 2007
The following reply was made to PR misc/118461; it has been noted by GNATS.
From: Edward Tomasz Napierala <trasz at FreeBSD.org>
To: Ricardo Nabinger Sanchez <rnsanchez at wait4.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 15:55:09 +0100
On 1206T1146, Ricardo Nabinger Sanchez 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).
NetBSD seems to have fixed this already:
http://cvsweb.netbsd.org/bsdweb.cgi/src/lib/libc/gen/humanize_number.c.diff?r1=1.11&r2=1.12
--
If you cut off my head, what would I say? Me and my head, or me and my body?
More information about the freebsd-bugs
mailing list