Ticket #59 (closed defect: fixed)

Opened 16 years ago

Last modified 10 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: committed-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
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 

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 15 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
  • Owner set to andrew_b
  • Version set to 4.6.1
  • Milestone changed from 4.7 to 4.7.0-pre3
  • Keywords precision added

Created branch 59_filesize_full_precision. Parent branch: master.

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 10 years ago by ossi

  • Description modified (diff)
  • Branch state set to no branch
  • Reporter changed from slavazanko to bilboq

comment:8 Changed 10 years ago by andrew_b

  • Branch state changed from no branch to merged
Note: See TracTickets for help on using tickets.