Date: Thu, 6 Dec 2007 15:10:02 GMT From: Edward Tomasz Napierala <trasz@FreeBSD.org> To: freebsd-bugs@FreeBSD.org Subject: Re: misc/118461: humanize_number(3) incorrectly formats values from 1048051712 to 1048575999 as "1000". Message-ID: <200712061510.lB6FA2UJ080998@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR misc/118461; it has been noted by GNATS. From: Edward Tomasz Napierala <trasz@FreeBSD.org> To: Ricardo Nabinger Sanchez <rnsanchez@wait4.org> Cc: freebsd-gnats-submit@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?
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200712061510.lB6FA2UJ080998>