Mailinglist Archive: zypp-devel (66 mails)

< Previous Next >
Re: [zypp-devel] Binary multiplication prefixes and zypp ByteCount
  • From: Michael Andres <ma@xxxxxxx>
  • Date: Mon, 9 Feb 2009 14:17:10 +0100
  • Message-id: <200902091417.10636.ma@xxxxxxx>
On Thursday 05 February 2009 16:02:23 Jan Kupec wrote:
What about the attached diff to ByteCount.cc as part of fixing
https://bugzilla.novell.com/show_bug.cgi?id=471335 ?

Note the empty 'symbol' for Byte - this way users can just do:

No please. The class is named ByteCount and that's why prints
per default "B" as unit. You should not change this semantic.

Feel free to enhance the class to support different units like 'bit', but
don't change the default behaviour.

--

cu,
Michael Andres

+------------------------------------------------------------------+
Key fingerprint = 2DFA 5D73 18B1 E7EF A862 27AC 3FB8 9E3A 27C6 B0E4
+------------------------------------------------------------------+
Michael Andres YaST Development ma@xxxxxxxxxx
SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nuernberg)
Maxfeldstrasse 5, D-90409 Nuernberg, Germany, ++49 (0)911 - 740 53-0
+------------------------------------------------------------------+

--
To unsubscribe, e-mail: zypp-devel+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: zypp-devel+help@xxxxxxxxxxxx

< Previous Next >
Follow Ups
References