Revive NetBSD support #9
Merged
SlavekB
merged 1 commits from feat/revive-netbsd-support
into master
5 years ago
Loading…
Reference in new issue
There is no content yet.
Delete Branch 'feat/revive-netbsd-support'
Deleting a branch is permanent. It CANNOT be undone. Continue?
check statvfs(2) support
APM support
For FilesystemStats in KSIM part,
Even if
statvfs
exists,getvfsstat
may not exists.Such conditions should be checked individually.
Current usage of
getfsstat
only get fixed 32 entries.getfsstat(NULL, 0)
will retrun size of entries, so it should be use asentry buffer size instead, but
getmntinfo
should make the job easiler.Incidentally, it seems that
KMountPoint
inTDECore
has same job, collect mounted filesystems, but for different information.Created new PR for KSIM part as #10
change diff to be minimalized
WIP: Revive NetBSD supportto Revive NetBSD support 5 years agoIt looks okay, only there is an unusual thing, please explain it.
#endif // HAVE_MACHIE_APM_BIOS_H
#if !defined( HAVE_DEV_APM_APMIO_H )
#cmakedefine HAVE_DEV_APM_APMIO_H
#endif // HAVE_DEV_APM_APMIO_H
I don't understand why there are conditions instead of simple
#cmakedefine
?probably, just copy from the above format.
maybye, it is better to define NetBSD_APM instead.
Oh, thank you, I didn't notice that the code above is the same way.
f8424834b6
.