Jim Meyering
05bbdbd786
update bug-reporting address
1997-10-07 23:53:36 +00:00
Jim Meyering
b7ffe8cdaf
update copyrights for 1997
1997-02-09 04:52:50 +00:00
Jim Meyering
50d2bb5b7b
(main): Rename local I to C to avoid shadowing and to
...
be more consistent. Declare I in inner scopes.
1997-02-02 20:09:02 +00:00
Jim Meyering
a882d55b52
bracket bug address with <> and append a period
1997-02-01 04:24:08 +00:00
Jim Meyering
4f51b86bfb
Compare getopt_long return value against -1, not EOF. Use NULL, not '(int *) 0' as last parameter in getopt_long call.
1997-02-01 03:03:44 +00:00
Jim Meyering
1d3c57118b
(find_mount_point): Convert from K&R style header to ANSI.
...
Patch from Kaveh Ghazi.
1996-12-10 00:28:02 +00:00
Jim Meyering
7e9e29f392
(main): Accept -F as a synonym for -t for compatibility
...
with Solaris. From Peter Eriksson.
1996-11-30 04:08:02 +00:00
Jim Meyering
be44044a29
(find_mount_point): Use strip_trailing_slashes and dirname
...
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 23:50:13 +00:00
Jim Meyering
ac66871c65
(find_mount_point): Use save_cwd/restore_cwd.
...
"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-28 19:35:33 +00:00
Jim Meyering
d7e8ccb6f3
(usage): Remove trailing pair of blanks.
1996-11-24 03:00:37 +00:00
Jim Meyering
bded355394
(usage): Alphabetize option descriptions the way sort -f would.
1996-11-23 22:13:00 +00:00
Jim Meyering
5582e6dad3
change bug-reporting address
1996-11-03 03:16:27 +00:00
Jim Meyering
b8e689dc67
change bug-reporting address
1996-11-02 20:44:15 +00:00
Jim Meyering
4f28f318d8
(main): update --version output to conform to coding standard
1996-10-05 13:14:11 +00:00
Jim Meyering
de05a873ec
(main): update --version output to conform to coding standard
1996-10-04 04:16:01 +00:00
Jim Meyering
c9fff51897
(usage): remove spurious trailing \n in puts.
1996-08-31 04:44:31 +00:00
Jim Meyering
7e294bac78
(usage): Tell where to report bugs.
1996-08-29 05:05:57 +00:00
Jim Meyering
cfda609a21
(selected_fstype, excluded_fstype, show_disk, main):
...
Use STREQ here instead of strcmp(...) == 0.
1996-06-19 04:21:49 +00:00
Jim Meyering
dcc145f13a
Rearrange function definitions to precede respective uses to obviate
...
all forward dcls. Remove forward dcls.
Declare parameters const as appropriate.
1996-05-16 05:00:12 +00:00
Jim Meyering
ca0a087f3d
.
1996-05-16 04:44:39 +00:00
Jim Meyering
a56783bbb4
(selected_fstype): Move definition to precede use.
...
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-05-16 04:31:45 +00:00
Jim Meyering
25f22cdc5d
Be consistent. Accept --human-readable, not --human.
...
(usage): Reflect the change.
1996-04-24 05:04:44 +00:00
Jim Meyering
dc98736719
update Copyright years for 1996
1996-04-24 04:42:21 +00:00
Jim Meyering
d7bf7dee47
(usage): Reflect that now --no-sync is the default.
1996-04-22 03:17:14 +00:00
Jim Meyering
a2d90c1616
No longer call sync by default.
1996-04-20 03:51:10 +00:00
Jim Meyering
5de0b392f2
Update FSF's address.
1996-03-24 18:47:09 +00:00
Jim Meyering
bb6a548712
(main): Declare to be of type int, not void.
1996-03-21 22:45:19 +00:00
Jim Meyering
ca0246a4c1
Don't include version.h.
...
(main): Use PACKAGE_VERSION instead of version_string.
1996-03-16 16:49:28 +00:00
Jim Meyering
10c96c43ac
(main): Initialize for internationalized message support: call setlocale,
...
bindtextdomain, and textdomain.
1996-03-12 03:08:30 +00:00
Jim Meyering
ff6400a018
(main): Tell read_filesystem_list that it should determine file system type
...
when the user specifies --print-type or -T. From Michael Rendell
<michael@cs.mun.ca >
1996-03-08 02:25:40 +00:00
Jim Meyering
41d5fb8189
(main): Decalare local, BS.
1996-02-01 06:16:57 +00:00
Jim Meyering
e76eb59d84
(main): New options --human-readable (-h) and --megabytes (-m).
...
(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.
1996-02-01 05:30:14 +00:00
Jim Meyering
073c4cb543
Mark all translatable strings using po-mode.el.
1995-11-29 19:24:52 +00:00
Jim Meyering
57ec0f45c9
s/non-zero/nonzero/g
1995-11-27 05:34:31 +00:00
Jim Meyering
b7b00aad08
Protect prototypes with __P.
1995-11-09 23:41:10 +00:00
Jim Meyering
c0d94c89ec
Protoize.
1995-11-09 17:02:23 +00:00
Jim Meyering
492b177ca5
(main): Fail if the same file system type was both selected and excluded.
1995-10-18 16:11:58 +00:00
Jim Meyering
e387fd1471
(show_point): Cast -2 to dev_t before assignment.
1995-10-05 14:12:29 +00:00
Jim Meyering
744393f0f4
(show_point): Ignore mtab entries with either
...
nonexistent mount points or with inconsistent device number.
From Eirik Fuller <eirik@synopsys.com >.
1995-09-26 04:18:55 +00:00
Jim Meyering
ec8d1fce62
(main): Include program name in --version output.
1995-06-22 18:43:14 +00:00
Jim Meyering
ee79446888
(usage): Add one or two lines of descriptive text.
1995-05-22 04:30:18 +00:00
Jim Meyering
99ce9e9832
Use stat (lstat), not safe_stat (safe_lstat).
1995-05-13 12:48:33 +00:00
Jim Meyering
107da866a6
(usage): Add ellipsis after `[OPTION]'.
...
Use FILE, not deprecated PATH. From Karl Berry.
1995-03-21 03:45:15 +00:00
Jim Meyering
1423198343
add 1995 to Copyright dates
1995-03-10 04:15:06 +00:00
Jim Meyering
69f39255bc
Rename SAFE_STAT and SAFE_LSTAT to lower case names.
1995-01-27 17:03:21 +00:00
Jim Meyering
59097c0922
Include "error.h" rather than simply declaring `void error ();'.
1994-12-27 13:36:22 +00:00
Jim Meyering
1fd77b2ddf
.
1994-10-29 04:49:55 +00:00
Jim Meyering
1cd8c36e4d
merge with 3.9t
1994-10-27 23:36:15 +00:00
Jim Meyering
4c8adc4821
.
1994-10-27 04:18:00 +00:00
Jim Meyering
f17c045d21
.
1994-10-02 02:09:38 +00:00