summaryrefslogtreecommitdiff
path: root/src/df.c
AgeCommit message (Collapse)Author
1997-02-02(main): Rename local I to C to avoid shadowing and toJim Meyering
be more consistent. Declare I in inner scopes.
1997-02-01bracket bug address with <> and append a periodJim Meyering
1997-02-01Compare getopt_long return value against -1, not EOF. Use NULL, not '(int ↵Jim Meyering
*) 0' as last parameter in getopt_long call.
1996-12-10(find_mount_point): Convert from K&R style header to ANSI.Jim Meyering
Patch from Kaveh Ghazi.
1996-11-30(main): Accept -F as a synonym for -t for compatibilityJim Meyering
with Solaris. From Peter Eriksson.
1996-11-28(find_mount_point): Use strip_trailing_slashes and dirnameJim Meyering
instead of open-coding them. When given FILE containing no slashes, chdir to the directory containing it (the current directory) rather than to `..'.
1996-11-28(find_mount_point): Use save_cwd/restore_cwd.Jim Meyering
"save-cwd.h": New include. (show_dev): Deal with null values for DISK and FSTYPE, including interpreting special 0 errno return from get_fs_usage. (show_point): Don't fail if we can't find a mount entry for POINT, just call show_dev with 0 values and let it fail if necessary. (main): Require a non-zero MOUNT_LIST only if showing all filesystems. (find_mount_point): New function. (xgetcwd): New declaration. All from Miles.
1996-11-24(usage): Remove trailing pair of blanks.Jim Meyering
1996-11-23(usage): Alphabetize option descriptions the way sort -f would.Jim Meyering
1996-11-03change bug-reporting addressJim Meyering
1996-11-02change bug-reporting addressJim Meyering
1996-10-05(main): update --version output to conform to coding standardJim Meyering
1996-10-04(main): update --version output to conform to coding standardJim Meyering
1996-08-31(usage): remove spurious trailing \n in puts.Jim Meyering
1996-08-29(usage): Tell where to report bugs.Jim Meyering
1996-06-19(selected_fstype, excluded_fstype, show_disk, main):Jim Meyering
Use STREQ here instead of strcmp(...) == 0.
1996-05-16Rearrange function definitions to precede respective uses to obviateJim Meyering
all forward dcls. Remove forward dcls. Declare parameters const as appropriate.
1996-05-16.Jim Meyering
1996-05-16(selected_fstype): Move definition to precede use.Jim Meyering
Remove prototype. Declare parameter FSTYPE to be const. (excluded_fstype): Likewise. (main): Fail with a diagnostic if both --human-readable and --portability are used. Likewise if --megabytes and --portability are used.
1996-04-24Be consistent. Accept --human-readable, not --human.Jim Meyering
(usage): Reflect the change.
1996-04-24update Copyright years for 1996Jim Meyering
1996-04-22(usage): Reflect that now --no-sync is the default.Jim Meyering
1996-04-20No longer call sync by default.Jim Meyering
1996-03-24Update FSF's address.Jim Meyering
1996-03-21(main): Declare to be of type int, not void.Jim Meyering
1996-03-16Don't include version.h.Jim Meyering
(main): Use PACKAGE_VERSION instead of version_string.
1996-03-12(main): Initialize for internationalized message support: call setlocale,Jim Meyering
bindtextdomain, and textdomain.
1996-03-08(main): Tell read_filesystem_list that it should determine file system typeJim Meyering
when the user specifies --print-type or -T. From Michael Rendell <michael@cs.mun.ca>
1996-02-01(main): Decalare local, BS.Jim Meyering
1996-02-01(main): New options --human-readable (-h) and --megabytes (-m).Jim Meyering
(human_readable_1k_blocks): New function. (print_header): Honor new options. (show_dev): Honor new options. Add ifdef'd-out code to avoid printing lines for mount points that match ^/auto/.* and ^/tmp_mnt.*. Rather than hard-coding those two prefixes, the code should allow the user to specify a regular expression. From Larry McVoy (lm@sgi.com). (human_readable_1k_blocks): Likewise (usage): Update usage message to reflect additions.
1995-11-29Mark all translatable strings using po-mode.el.Jim Meyering
1995-11-27s/non-zero/nonzero/gJim Meyering
1995-11-09Protect prototypes with __P.Jim Meyering
1995-11-09Protoize.Jim Meyering
1995-10-18(main): Fail if the same file system type was both selected and excluded.Jim Meyering
1995-10-05(show_point): Cast -2 to dev_t before assignment.Jim Meyering
1995-09-26(show_point): Ignore mtab entries with eitherJim Meyering
nonexistent mount points or with inconsistent device number. From Eirik Fuller <eirik@synopsys.com>.
1995-06-22(main): Include program name in --version output.Jim Meyering
1995-05-22(usage): Add one or two lines of descriptive text.Jim Meyering
1995-05-13Use stat (lstat), not safe_stat (safe_lstat).Jim Meyering
1995-03-21(usage): Add ellipsis after `[OPTION]'.Jim Meyering
Use FILE, not deprecated PATH. From Karl Berry.
1995-03-10add 1995 to Copyright datesJim Meyering
1995-01-27Rename SAFE_STAT and SAFE_LSTAT to lower case names.Jim Meyering
1994-12-27Include "error.h" rather than simply declaring `void error ();'.Jim Meyering
1994-10-29.Jim Meyering
1994-10-27merge with 3.9tJim Meyering
1994-10-27.Jim Meyering
1994-10-02.Jim Meyering
1994-07-30.Jim Meyering
1994-07-03.Jim Meyering