summaryrefslogtreecommitdiffstats
path: root/kcalc/kcalc_core.h
diff options
context:
space:
mode:
authorOBATA Akio <obache@wizdas.com>2019-04-15 18:02:32 +0900
committerSlávek Banko <slavek.banko@axis.cz>2019-05-04 17:25:51 +0200
commit39a89fa0a214671ed696634862423a18ebfd90c9 (patch)
tree0529b86d42486b915f9e24d9581464d414d06776 /kcalc/kcalc_core.h
parente2e56f4e616b111f263627abdc6293b598b31037 (diff)
downloadtdeutils-39a89fa0a214671ed696634862423a18ebfd90c9.tar.gz
tdeutils-39a89fa0a214671ed696634862423a18ebfd90c9.zip
Change and simplify `statvfs` conditions in FileSystemStats
`getfsstat` v.s. `getvfsstat` condition is different than `statfs` v.s. `statvfs`, so split each condition and simplify. For `get(v)fsstat` side, changed to check and use `getmntinfo`, because it is better than `get(v)fsstat` with fixed buffer size, and easier than improve it with dynamic buffer allocation. Signed-off-by: OBATA Akio <obache@wizdas.com> (cherry picked from commit d349995488a13687171a67efd981e986b3b703e5)
Diffstat (limited to 'kcalc/kcalc_core.h')
0 files changed, 0 insertions, 0 deletions