patchmldonkey, a multi-networks file-sharing client - Patches: patch #5296, Telnet: Fix filesize display for...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

patch #5296: Telnet: Fix filesize display for 1kb, 1mb, 1gb values

Submitter:  Christian Schlotter <schlotter>
Submitted:  Sat 12 Aug 2006 05:45:57 PM UTC
   
 
Category:  Improved interfaces Priority:  5 - Normal
Status:  Done Assigned to:  None
Open/Closed:  Closed

Sat 12 Aug 2006 06:12:10 PM UTC, comment #4: 

Applied 2006/08/12

spiralvoice <spiralvoice>
Group administrator
Sat 12 Aug 2006 05:45:57 PM UTC, comment #3: 

This item has been reassigned from the project mldonkey, a multi-networks file-sharing client bugs tracker to your tracker.

The original report is still available at bugs #17412

Following are the information included in the original report:

[field #0]                  Item ID: 17412
[field #1]                 Group ID: 1409
[field #2]              Open/Closed: Open
[field #3]                 Severity: 2 - Minor
[field #4]                  Privacy: Public
[field #6]                 Category: Telnet interface
[field #7]             Submitted by: schlotter
[field #8]              Assigned to: None
[field #9]             Submitted on: Samstag 12.08.2006 um 13:34
[field #10]                  Summary: Filesize in telnet interface not displayed properly
[field #11]      Original Submission: Hi!

I m downloading a file which exactly has the filesize 1073741824 bytes = 2^30 bytes.  This is displayed in telnet interface as 1073741824b, but should be displayed as 1gb.

Best regards
[field #13]               Item Group: None
[field #14]                   Status: Ready For Test
[field #15]        Component Version: None
[field #16]         Operating System: Linux
[field #17]          Reproducibility: None
[field #18]               Size (loc): None
[field #19]            Fixed Release: None
[field #20]          Planned Release: None
[field #21]                   Effort: 0.00
[field #25]                 Priority: 5 - Normal
[field #28]         Percent Complete: 0%
[field #30]                  Release: 2.7.7
[field #31]                  Release: 2.7.7
[field #55]          Binaries Origin: Gentoo ebuild
[field #56]                 CPU type: Intel x86
[field #57]                      CPU: None
[field #58]     Custom Select Box #4: None
[field #59]     Custom Select Box #5: None
[field #60]     Custom Select Box #6: None
[field #61]     Custom Select Box #7: None
[field #62]     Custom Select Box #8: None
[field #63]     Custom Select Box #9: None
[field #64]    Custom Select Box #10: None

spiralvoice <spiralvoice>
Group administrator
Sat 12 Aug 2006 04:52:43 PM UTC, comment #2: 

Thanks! Patch applied cleanly to 2.7.7 and fixed the reported issue.

Christian Schlotter <schlotter>
Sat 12 Aug 2006 01:25:43 PM UTC, comment #1: 

Attached patch should fix this, please test.

spiralvoice <spiralvoice>
Group administrator
Sat 12 Aug 2006 05:45:57 PM UTC, original submission:  

Hi!

I'm downloading a file which exactly has the filesize 1073741824 bytes = 2^30 bytes.  This is displayed in telnet interface as 1073741824b, but should be displayed as 1gb.

Best regards

Christian Schlotter <schlotter>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attached Files
file #10523:  print_human_readable.patch added by spiralvoice (970B - application/octet-stream)

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

 

Follow 5 latest changes.

Date Changed by Updated Field Previous Value => Replaced by
2006-08-12 spiralvoice StatusNone Done
    Open/ClosedOpen Closed
2006-08-12 spiralvoice CategoryNone Improved interfaces
    SummaryReassigned item: Filesize in telnet interface not displayed properly Telnet: Fix filesize display for 1kb, 1mb, 1gb values
2006-08-12 spiralvoice Reassign itemFrom group mldonkey, a multi-networks file-sharing client, bugs tracker To group mldonkey, a multi-networks file-sharing client, patch tracker

Back to the top

Powered by Savane 3.13-4b48.
Corresponding source code