(inode_format, show_all_fs, show_local_fs,
authorPaul Eggert <eggert@cs.ucla.edu>
Mon, 2 Aug 2004 18:43:35 +0000 (18:43 +0000)
committerPaul Eggert <eggert@cs.ucla.edu>
Mon, 2 Aug 2004 18:43:35 +0000 (18:43 +0000)
commit2f9bb99f37a02370b53f1b39a3ed99ae3f1baf4e
tree84dfab8b017b898762a80f61a912d0f5b3323802
parentb4b2eed874e0d47f56adec363c616ba360f7e5a2
(inode_format, show_all_fs, show_local_fs,
show_listed_fs, posix_format, require_sync, print_type,
selected_fstype, excluded_fstype, show_dev, show_point, main):
Use bool for booleans.
(df_readable, show_dev): Use UINTMAX_MAX instead of -1.
(show_dev, show_point, main):
Use EXIT_SUCCESS/EXIT_FAILURE instead of 0/1.
Don't assume disk name lengths are <= INT_MAX.
Rewrite pct calculation to avoid cast.
(show_point): Don't assume resolved length is <= SSIZE_MAX.
src/df.c