Bugzilla – Attachment 2967 Details for
Bug 2701
sftp and scp show wrong units for speeds and file sizes in progress meter
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Proposed patch to use units recommended by IEEE
file_2701.txt (text/plain), 564 bytes, created by
Jakub Jelen
on 2017-03-30 22:30:27 AEDT
(
hide
)
Description:
Proposed patch to use units recommended by IEEE
Filename:
MIME Type:
Creator:
Jakub Jelen
Created:
2017-03-30 22:30:27 AEDT
Size:
564 bytes
patch
obsolete
>diff --git a/progressmeter.c b/progressmeter.c >index fe9bf52..bce52c9 100644 >--- a/progressmeter.c >+++ b/progressmeter.c >@@ -100,7 +100,7 @@ format_rate(char *buf, int size, off_t bytes) > (long long) (bytes + 5) / 100, > (long long) (bytes + 5) / 10 % 10, > unit[i], >- i ? "B" : " "); >+ i ? "iB" : " "); > } > > static void >@@ -113,7 +113,7 @@ format_size(char *buf, int size, off_t bytes) > snprintf(buf, size, "%4lld%c%s", > (long long) bytes, > unit[i], >- i ? "B" : " "); >+ i ? "iB" : " "); > } > > void
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 2701
: 2967