[PATCH] Add option to use traditional binary units instead of kibibytes

Marcel Partap 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...
Name: kcontrol-kcm_locale-add-bytesizeunitsystem-option.patch
Type: application/octet-stream
Size: 3396 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20090706/5e0c6cf3/attachment.obj>

More information about the kde-core-devel mailing list