diff options
author | Jim Meyering <jim@meyering.net> | 2002-06-21 12:34:36 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 2002-06-21 12:34:36 +0000 |
commit | e2a70948d41d04b9de571d270d20be2e96c99a66 (patch) | |
tree | ca0eeb5684cb14affb89bf152719a4a176be9875 /src/factor.c | |
parent | a905df79ad95aba64b649f7c2e95d7a1714b85d5 (diff) | |
download | coreutils-e2a70948d41d04b9de571d270d20be2e96c99a66.tar.xz |
Include sys/statvfs.h.
[!HAVE_SYS_STATVFS_H && !HAVE_SYS_VFS_H]: Include sys/param.h
and sys/mount.h, to get decl of struct statfs on NetBSD 1.5.2.
(NAMEMAX_FORMAT, STRUCT_STATVFS): Define.
(HAVE_STRUCT_STATXFS_F_TYPE, SB_F_NAMEMAX): Define.
Remove `static' attribute from decl of program_name.
(human_fstype): Use f_basetype or f_fstypename if available.
(print_human_time): Use nstrftime and an ISO format string, in
place of strftime with `%c'. The latter is too locale-dependent.
(print_statfs): Deal with lots of portability issues: some fields
are available only with statfs, others only with statvfs, and
some are available in both, but with different types.
(do_statfs) [DEFAULT_FORMAT_TERSE]: Factor out.
[DEFAULT_FORMAT_VERBOSE]: Likewise.
Diffstat (limited to 'src/factor.c')
0 files changed, 0 insertions, 0 deletions