Commit Graph

7 Commits

Author SHA1 Message Date
Jef Poskanzer
2efc602fb2 The units handling was interpreting capital K/M/G as 1024/1048576/1073741824
and lowercase k/m/g as 1000/1000000/1000000000.  This was deemed to be
too confusing.  Now both capital and lowercase give the powers-of-two version.
2013-01-28 16:52:04 -08:00
Brian Tierney
8d41fbd712 more bug fixes, still needs work 2009-11-03 06:38:09 +00:00
Brian Tierney
a951c98062 lots of code restructuring 2009-11-02 22:43:19 +00:00
Brian Tierney
e434aab6a2 code cleanup: used 'indent' to enforce consistant style 2009-10-19 22:35:18 +00:00
Jon Dugan
bc495fb9f7 fix UNIT_LEN
tweak format in unit_snprintf
2009-02-24 09:43:27 +00:00
Jon Dugan
e92877004e add unit conversion and formatting from old code. remove hungarian gobbledeygook 2009-02-24 08:05:14 +00:00
Jon Dugan
d18ce8e918 bring over old unit converting functions 2009-02-24 06:25:08 +00:00