Ticket #59 (new defect) — at Initial Version

Opened 15 years ago

Last modified 10 years ago

savannah: Size of files not shown with full precision

Reported by: slavazanko Owned by:
Priority: major Milestone: 4.7.0-pre3
Component: mc-core Version: 4.6.1
Keywords: precision Cc:
Blocked By: Blocking:
Branch state: merged Votes for changeset:

Description

Original: http://savannah.gnu.org/bugs/?19324

Submitted by:Martin Petricek <bilboq>Submitted on:Fri 16 Mar 2007 03:52:29 PM UTC
Category:CoreSeverity:3 - Normal
Status:ConfirmedPrivacy:Public
Assigned to:NoneOpen/Closed:Open
Release:current (CVS or snapshot)Operating System:GNU/Linux

Discussion:

Sun 18 Mar 2007 01:03:17 PM UTC, comment #1:

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...
	Pavel Tsekov <ptsekov>
Project Administrator
Fri 16 Mar 2007 03:52:29 PM UTC, 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".
Note: See TracTickets for help on using tickets.