summaryrefslogtreecommitdiffstats
path: root/misc-utils/fincore.c
Commit message (Collapse)AuthorAgeFilesLines
* Fix minor typosYuri Chornoivan2017-05-231-2/+2
|
* misc: consolidate smartcols error messagesKarel Zak2017-05-181-3/+3
| | | | | | ... just to keep translators happy Signed-off-by: Karel Zak <kzak@redhat.com>
* fincore: check rc from smartcols stuff [coverity scan]Karel Zak2017-05-171-4/+9
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* fincore: fix file descriptor leakSami Kerola2017-04-101-0/+1
| | | | Signed-off-by: Sami Kerola <kerolasa@iki.fi>
* fincore: use size_t everywhereKarel Zak2017-04-061-3/+3
| | | | | | | It seems better to avoid "int" at all from sizes calculations to make the code more robust for future changes. Signed-off-by: Karel Zak <kzak@redhat.com>
* fincore: fix multiplication overflowRuediger Meier2017-04-061-1/+1
| | | | | | This failed on ppc64 with page size 64k. Signed-off-by: Ruediger Meier <ruediger.meier@ga-group.nl>
* fincore: add column RESKarel Zak2017-03-271-2/+16
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* fincore: fix error on open()Karel Zak2017-03-231-1/+1
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* fincore: add --raw and --jsonKarel Zak2017-03-231-2/+18
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* fincore: add --outputKarel Zak2017-03-231-4/+21
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* fincore: add --bytes and --noheadingsKarel Zak2017-03-231-19/+31
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* fincore: use libsmartcolsKarel Zak2017-03-231-24/+150
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* fincore: cleanup return codesKarel Zak2017-03-231-24/+22Star
| | | | | | Don't use EXIT_* macros as functions return code. Signed-off-by: Karel Zak <kzak@redhat.com>
* fincore: new command for counting pages of file contents in coreMasatake YAMATO2017-03-231-0/+209
Signed-off-by: Masatake YAMATO <yamato@redhat.com> Signed-off-by: Karel Zak <kzak@redhat.com>