Ticket #59 (closed defect: fixed) — at Version 7

Opened 16 years ago

Last modified 11 years ago

savannah: Size of files not shown with full precision

Reported by: bilboq Owned by: andrew_b
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: commited-master

Description (last modified by ossi) (diff)

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

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...

Change History

comment:1 Changed 16 years ago by styx

  • Milestone set to 4.7

comment:2 Changed 15 years ago by andrew_b

  • Status changed from new to accepted
  • severity set to on review
  • Keywords precision added
  • Version set to 4.6.1
  • Milestone changed from 4.7 to 4.7.0-pre3
  • Owner set to andrew_b

Created branch 59_filesize_full_precision. Parent branch: master.
changeset:b1c754b57d721d20f534dc8e6d3022e19bd849fb

comment:3 Changed 15 years ago by slavazanko

  • Votes for changeset set to slavazanko

comment:4 Changed 15 years ago by angel_il

  • Votes for changeset changed from slavazanko to slavazanko angel_il
  • severity changed from on review to approved

comment:5 Changed 15 years ago by andrew_b

  • Status changed from accepted to testing
  • Votes for changeset changed from slavazanko angel_il to commited-master
  • Resolution set to fixed
  • severity changed from approved to merged

comment:6 Changed 15 years ago by andrew_b

  • Status changed from testing to closed

comment:7 Changed 11 years ago by ossi

  • Description modified (diff)
  • Branch state set to no branch
  • Reporter changed from slavazanko to bilboq
Note: See TracTickets for help on using tickets.