[PATCH] Add option to use traditional binary units instead of kibibytes
mpartap at gmx.net
Mon Jul 6 22:02:16 BST 2009
> >The patch is wrong.
> >This is the standard.
> >Not doing it would be wrong.
> Which then must mean that we shouldn't have those units
Very confusing indeed. IMHO there should be an option to switch between base 1000 and base 1024 units, for which clear conventions exist.
So here at http://reviewboard.kde.org/r/943/diff/
is the implementation of tests against the current behaviour of formatByteSize() and an initial implementation of formatByteSizeCustom. The patch attached to this mail adds an option to select between SI/IEC system but it doesn't yet save the value (can someone see why not?)..
Neu: GMX Doppel-FLAT mit Internet-Flatrate + Telefon-Flatrate
für nur 19,99 Euro/mtl.!* http://portal.gmx.net/de/go/dsl02
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 3396 bytes
Desc: not available
More information about the kde-core-devel