id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc	blockedby	blocking	branch_state	votes
59	savannah: Size of files not shown with full precision	bilboq	andrew_b	"Original: http://savannah.gnu.org/bugs/?19324

||Submitted by:||Martin Petricek <bilboq>||Submitted on:||Fri 16 Mar 2007 03:52:29 PM UTC||
||Category:||Core||Severity:||3 - Normal||
||Status:||Confirmed||Privacy:||Public||
||Assigned to:||None||Open/Closed:||Open||
||Release:||current (CVS or snapshot)||Operating System:||GNU/Linux||

Original submission:
{{{
I created a file exactly 2000111222 bytes large (cca 2GB)
With default listing mode, it is shown as ""1907M"" (column is 7 bytes wide)

I set the listing mode to ""user defined"" and specified wider size 
column by:

half type,name,|,size:14,|,perm

However, the file size is shown as ""1953234K"", even if the 14 chars 
wide column allow specifying it with single byte precision, like 
""2000111222"".
}}}

Comment 1 by Pavel Tsekov <ptsekov> at Sun 18 Mar 2007 01:03:17 PM UTC:
{{{
Right. There is an hardcoded limit of 9 characters per file size :(

I guess it is time to finally import the file size printing routines
 from coreutils/gnulib. I've been delaying this for some time now...
}}}
"	defect	closed	major	4.7.0-pre3	mc-core	4.6.1	fixed	precision				merged	committed-master
