]> git.ipfire.org Git - thirdparty/util-linux.git/commit
libsmartcols: make calculation more robust
authorKarel Zak <kzak@redhat.com>
Thu, 19 Oct 2023 09:23:20 +0000 (11:23 +0200)
committerKarel Zak <kzak@redhat.com>
Mon, 23 Oct 2023 19:54:00 +0000 (21:54 +0200)
commite2e94816c8456557975edc1bfe8ab9e8701f34a1
treefe482ff373bca8fa5d503f46889ee2deab65e1d9
parentc5310d4a3121dbcb2e137a0a2db20bca3c3e4ad5
libsmartcols: make calculation more robust

* add debug messages
* make columns stat debug more compact
* default to zero if data undefined
* fix "extreme" column enlarging

Signed-off-by: Karel Zak <kzak@redhat.com>
libsmartcols/src/calculate.c
libsmartcols/src/print.c