Mageia Bugzilla – Attachment 520 Details for
Bug 1605
u3-tool, a tool for manipulating virtual CD for U3 USB keys
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
New Account
|
Forgot Password
[patch]
patch use in spec file
u3-print-size.patch (text/plain), 495 bytes, created by
Marianne Lombard
on 2011-06-05 15:57:19 CEST
(
hide
)
Description:
patch use in spec file
Filename:
MIME Type:
Creator:
Marianne Lombard
Created:
2011-06-05 15:57:19 CEST
Size:
495 bytes
patch
obsolete
>Index: src/main.c >=================================================================== >--- src/main.c (Revision 41) >+++ src/main.c (Arbeitskopie) >@@ -93,7 +93,7 @@ > /** > * Symbols of size multiplication factors. > */ >-char factor_symbols[] = "kMGTPE"; >+char factor_symbols[] = " kMGTPE"; > > /** > * Print bytes is human readable fashion. >@@ -110,7 +110,7 @@ > factor++; > } > >- printf("%.2f %cB", fsize, factor_symbols[factor-1]); >+ printf("%.2f %cB", fsize, factor_symbols[factor]); > } > > /**
Index: src/main.c =================================================================== --- src/main.c (Revision 41) +++ src/main.c (Arbeitskopie) @@ -93,7 +93,7 @@ /** * Symbols of size multiplication factors. */ -char factor_symbols[] = "kMGTPE"; +char factor_symbols[] = " kMGTPE"; /** * Print bytes is human readable fashion. @@ -110,7 +110,7 @@ factor++; } - printf("%.2f %cB", fsize, factor_symbols[factor-1]); + printf("%.2f %cB", fsize, factor_symbols[factor]); } /**
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 1605
:
519
| 520