[Mageia-dev] What is Mageia's policy reagarding filesize display? (units/base 2 vs base 10)

Christian Lohmaier lohmaier+mageia at googlemail.com
Tue Jun 26 16:18:56 CEST 2012


Hi Olav, *,

On Tue, Jun 26, 2012 at 3:35 PM, Olav Vitters <olav at vitters.nl> wrote:
> On Tue, Jun 26, 2012 at 02:57:16PM +0200, Christian Lohmaier wrote:
>> Apparently this did originate from ubuntu with their unit policy
>> https://wiki.ubuntu.com/UnitsPolicy which is rather flawed in my
>> opinion.
>
> FWIW, I'm not interested in making such changes. I prefer base 2, but
> don't see the point of making glib/gtk+ behave differently across
> distributions.

It is not making glib/gtk behave differently, it is just requesting
differently processed string from glib.

glib already provides functions / corresponding flags to switch
between the two bases.

A patch would be passing G_FORMAT_SIZE_IEC_UNITS to the function call.

ciao
Christian


More information about the Mageia-dev mailing list