Jim Meyering
5d4f8ebdfd
(main, usage): Check for write error to stdout before exiting.
...
Include "closeout.h".
1998-01-04 22:45:28 +00:00
Jim Meyering
b246280c27
(parse_long_options): Check for write error to stdout before exiting.
1998-01-04 22:43:44 +00:00
Jim Meyering
60e021ee4e
(libfu_a_SOURCES): Add closeout.c.
...
(noinst_HEADERS): Add closeout.h.
1998-01-04 22:42:38 +00:00
Jim Meyering
63c0f480ad
Use a single enumerated type, Verbosity, instead of
...
the two booleans, verbose and changes_only. This fixes a bug whereby
--change had the same effect as --verbose.
Plus Paul's close_stdout changes.
1998-01-04 22:41:02 +00:00
Jim Meyering
e375f4e9c8
Use a single enumerated type, Verbosity, instead of
...
the two booleans, verbose and changes_only. This fixes a bug whereby
--change had the same effect as --verbose.
1998-01-04 22:40:27 +00:00
Jim Meyering
109b9c5f94
.
1998-01-04 21:48:30 +00:00
Jim Meyering
126c1a40e5
.
1998-01-04 21:47:31 +00:00
Jim Meyering
2440fd8bac
.
1998-01-03 22:53:52 +00:00
Jim Meyering
98b9c4bed7
.
1998-01-03 22:16:23 +00:00
Jim Meyering
40f708f534
.
1998-01-03 22:14:58 +00:00
Jim Meyering
ebc5dc0b0c
*** empty log message ***
1998-01-03 22:13:53 +00:00
Jim Meyering
e0ed4e6a77
*** empty log message ***
1998-01-03 18:10:47 +00:00
Jim Meyering
c24393e0fd
*** empty log message ***
1998-01-03 18:09:23 +00:00
Jim Meyering
e15db4ca81
*** empty log message ***
1998-01-03 16:47:35 +00:00
Jim Meyering
1059e96721
(show_dev): Treat `fsu.fsu_bavail == (unsigned long) -1'
...
just like `fsu.fsu_blocks == 0' as an indicator that usage information
is invalid. This happens with Solaris-5.5.1 CD-ROM partitions.
1998-01-03 16:47:21 +00:00
Jim Meyering
234ea05171
*** empty log message ***
1998-01-03 14:40:33 +00:00
Jim Meyering
0fa007e352
*** empty log message ***
1998-01-03 12:03:01 +00:00
Jim Meyering
9e6b379dbf
*** empty log message ***
1998-01-03 11:58:49 +00:00
Jim Meyering
d46bab3a59
Guard PARAMS-enabling definition with
...
`defined PROTOTYPES || (defined __STDC__ && __STDC__)' to be consistent.
1998-01-03 11:56:58 +00:00
Jim Meyering
541699c01c
Guard PARAMS-enabling definition with
...
`defined PROTOTYPES || (defined __STDC__ && __STDC__)' to avoid
problems with Irix4's cc. From Kaveh Ghazi.
1998-01-03 11:56:09 +00:00
Jim Meyering
23a8ea7992
*** empty log message ***
FILEUTILS-3_16i
1998-01-02 23:18:08 +00:00
Jim Meyering
6b4321fd1b
*** empty log message ***
1998-01-02 23:16:53 +00:00
Jim Meyering
2fb86e2eb8
(get_ids): When otherwise unspecified, set uid and gid to -1.
1998-01-02 23:16:38 +00:00
Jim Meyering
53bc7b04cb
(make_path): Try to change ownership only if we've just created the
...
directory. Fix latent bug (s/&&/||/ in two places -- also, note that
it could not be exercised via install or mkdir) whereby chown would
not be invoked when only one of owner/group is not -1.
1998-01-02 23:15:39 +00:00
Jim Meyering
43c2a5f62b
*** empty log message ***
1998-01-01 21:33:29 +00:00
Jim Meyering
b3d19ee824
(remove_cwd_entries): Initialize the entry-name obstack
...
only once and never free it.
1998-01-01 21:32:46 +00:00
Jim Meyering
2c2fa642c4
(show_dev): Move check for 0-block device (and return if
...
not e.g., -a) back up to precede first print stmt.
1998-01-01 21:30:00 +00:00
Jim Meyering
cb5e8a14c2
*** empty log message ***
1998-01-01 19:45:43 +00:00
Jim Meyering
48221eb8bd
*** empty log message ***
1998-01-01 19:44:02 +00:00
Jim Meyering
3e6934d53e
*** empty log message ***
1998-01-01 19:41:47 +00:00
Jim Meyering
741e2bd94b
*** empty log message ***
1998-01-01 19:36:19 +00:00
Jim Meyering
0327bae400
*** empty log message ***
1997-12-31 21:36:14 +00:00
Jim Meyering
e3d35f6789
(show_dev): Print inode counts human readably.
1997-12-31 21:34:07 +00:00
Jim Meyering
b76a453304
(decode_switches): -h and -H override output units.
...
(print_dir, gobble_file, print_long_format,
print_file_name_and_frills): Print disk allocations human readably.
1997-12-31 21:33:51 +00:00
Jim Meyering
069e564d89
.
1997-12-31 14:28:44 +00:00
Jim Meyering
cadfe29978
*** empty log message ***
1997-12-31 14:04:54 +00:00
Jim Meyering
da111683d5
(show_dev): Move computation of
...
blocks_used etc. and blocks_percent_used,
inodes_used etc. and inodes_percent_used into respective branches
of the `if (inode_format)' statement where they're actually used.
1997-12-31 14:04:20 +00:00
Jim Meyering
57da248b85
*** empty log message ***
1997-12-31 11:01:48 +00:00
Jim Meyering
b66148ba39
Define and use PARAMS, not __EXCLUDE_P.
1997-12-31 11:01:35 +00:00
Jim Meyering
86d2f9eaa8
Use PARAMS, not __EXCLUDE_P.
1997-12-31 11:01:18 +00:00
Jim Meyering
25e06fece0
(usage): s/TAB/ /g
1997-12-29 22:09:28 +00:00
Jim Meyering
d1de57abbc
*** empty log message ***
1997-12-29 21:29:51 +00:00
Jim Meyering
5cc8090de2
(remove_cwd_entries): Plug a gross leak -- don't call
...
obstack_init inside the loop.
1997-12-29 21:04:26 +00:00
Jim Meyering
e2ed51f99e
*** empty log message ***
1997-12-29 12:06:02 +00:00
Jim Meyering
134ed86e33
(usage): Replace TABs with spaces in --help message.
1997-12-29 12:05:36 +00:00
Jim Meyering
f7d4fc0e38
(invalid_arg): Use a single fprintf and whole
...
format statements to ease translation.
Convert from K&R to ANSI function dcls.
1997-12-29 12:02:43 +00:00
Jim Meyering
3531b69552
.
1997-12-28 21:49:54 +00:00
Jim Meyering
ce9923ab87
Use ANSI syntax, not K&R.
1997-12-28 10:41:01 +00:00
Jim Meyering
6d02c37081
*** empty log message ***
1997-12-28 10:38:30 +00:00
Jim Meyering
b2e7f8b0af
(make_path) [!__STDC__]: Remove K&R-style definition.
1997-12-28 10:38:15 +00:00