Commit Graph

7 Commits (88fd5db6abc089d22ef4918c012f4008629417ef)

Author SHA1 Message Date
OBATA Akio 39a89fa0a2
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 d349995488)
6 years ago
OBATA Akio e2e56f4e61
Fix NetBSD APM support
NetBSD APM is supported other than i386 too, emulate API,
so change to detect with MI support header.
Additionally, catch up support codes to others.

Signed-off-by: OBATA Akio <obache@wizdas.com>
(cherry picked from commit f8424834b6)
6 years ago
Slávek Banko 150ffb2b55 Fix detection whether the system is big endian
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
(cherry picked from commit 909bc5d017)
8 years ago
Slávek Banko 80e661aaac Finish renaming knewstuff 11 years ago
Francois Andriot 3df0615503 Fix FTBFS due to STRLCAT definition conflict 12 years ago
Slávek Banko 28ff5585a1 Fix cmake build: FTBFS with CMake older than 2.8.1 12 years ago
Darrell Anderson c1a8ee04fb Initial conversion to cmake.
Thanks to Fat-Zer.
12 years ago