Fix #4612
closed
unit_to_bytesize(), si_t, prettybyte_t use 'K' for kilo; SI recommends 'k'
Added by Dan Mick about 11 years ago.
Updated over 10 years ago.
Description
It's a pet peeve, but the abbreviation for "kilo" (or "kibi") is 'k', not 'K'.
I'm happy with making it both, but we can't not accept 'k'.
- Project changed from Ceph to 16
- Project changed from 16 to Ceph
- Subject changed from unit_to_bytestring: uses 'K' for kilo; SI recommends 'k' to si_t, prettybyte_t use 'K' for kilo; SI recommends 'k'
- Tracker changed from Bug to Fix
This is now parsed as input in unit_to_bytesize(), and printed in the various classes
in types.h. Fix both sides (allow both on input, use lowercase on output).
- Status changed from New to Fix Under Review
- Subject changed from si_t, prettybyte_t use 'K' for kilo; SI recommends 'k' to unit_to_bytesize(), si_t, prettybyte_t use 'K' for kilo; SI recommends 'k'
- Status changed from Fix Under Review to Resolved
Also available in: Atom
PDF