id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc	blockedby	blocking	branch_state	votes
3666	Improper use of IEC and SI prefixes for size in size_trunc()/size_trunc_len()	michael-o	andrew_b	"This is a spinoff from https://github.com/MidnightCommander/mc/issues/109

Looking at lib/util.c, I see that virtually all SI prefixes are plain wrong. Additionally, man page talks about SI units, there aren't any. Only SI prefixes are incorrectly used. Bases arent 1024 and 1000, they are 2 and 10.

The best solution is to provide IEC prefixes (binary, KiB, MiB, GiB) and SI prefixes (decimal, kB, MB, GB), though file sizes (opposed to memory) are always calculated with base 10.

Patch is in preparation for this function and its callers."	defect	reopened	major	Future Releases	mc-core	master			egmont zaytsev mooffie info@…		3673, 3674, 3675, 3676	on hold	
