Hey suckless folks,
while reading the code for df.c, I realised it uses a specialised function
to print human-readable output, print_human(). It mostly replicates the code
of libutils human.c, not yet present in ubase.
Here is a patch that replaces print_human() with calls to humansize().
Also, why does postfixes[0] in humansize() result 'B' but that is never used?
Greetings, pranomostro
Received on Tue May 31 2016 - 14:49:13 CEST