Jim Meyering
75b6b90fe1
[!ENOSYS] (ENOSYS): Define to ENOTSUP or ENOMSG.
1998-07-16 23:20:03 +00:00
Jim Meyering
8d4d2c4cf4
(check_format): Add `5' to the list of digits.
...
Reported by Donni Erpel.
1998-07-15 12:39:58 +00:00
Jim Meyering
6cdd12a9f2
(print_header): Print "1k-blocks", not "1.0k-blocks".
1998-07-13 00:17:57 +00:00
Jim Meyering
a4e98775a4
Remove FCLOSE_UNLOCKED block.
1998-07-08 01:07:39 +00:00
Jim Meyering
73b7370917
(parse_line): Add casts to avoid errors from Irix4's `cc' C compiler.
...
From Kaveh Ghazi.
1998-07-05 00:25:10 +00:00
Jim Meyering
218c464b91
tweak comment
1998-07-04 15:46:38 +00:00
Jim Meyering
52fa9ac235
Remove #ifdef around <regex.h> inclusion.
1998-07-04 14:45:29 +00:00
Jim Meyering
9b809393be
Remove #ifdef around <regex.h> inclusion.
...
(extract_regexp): Remove #if !WITH_REGEX...#endif block.
1998-07-04 14:45:12 +00:00
Jim Meyering
4475ffda48
(remove_dir): Use fprintf, not error to avoid newline in prompt.
1998-07-04 03:59:34 +00:00
Jim Meyering
345c323ffd
(copy_internal): Rename variable and reverse sense of tests
...
to make the code a little clearer.
1998-07-03 23:56:44 +00:00
Jim Meyering
1f682431ae
(df_readable): Rename local so as not to shadow global.
1998-07-03 21:05:06 +00:00
Jim Meyering
698a43f363
(SAME_INODE): New macro.
...
Use it to replace open-coded equivalents.
1998-07-03 20:57:31 +00:00
Jim Meyering
def9c2bf0b
(copy_internal): Try harder identifying a relative
...
symbolic link in the current directory.
From Andreas Schwab.
1998-07-03 20:32:37 +00:00
Jim Meyering
184870f9bb
(copy_internal): Don't skip test for same file if creating a hardlink
...
from symlink over a non-symlink while making backups.
1998-07-03 20:06:50 +00:00
Jim Meyering
6ccae5e2d8
(copy_internal): Don't call chown on a symlink.
1998-07-03 19:57:42 +00:00
Jim Meyering
3fa1d4bb24
(main): Move the test of the result of the read_filesystem_list call
...
up out of if-block -- code in the else-block depends on it too.
1998-06-30 02:27:51 +00:00
Jim Meyering
f3c14cb59f
revert back to using lower case _unlocked wrapper names
1998-06-29 16:24:01 +00:00
Jim Meyering
8ba97d963e
Include system.h only after error.h and readutmp.h
...
so we don't get redefinition warnings about getc, etc.
Revert back to using lower case _unlocked wrapper names.
1998-06-29 16:23:15 +00:00
Jim Meyering
83d4b736d2
revert back to using lower case _unlocked wrapper names
1998-06-29 15:59:39 +00:00
Jim Meyering
257c5c4737
revert back to using lower case _unlocked wrapper names
1998-06-29 15:57:45 +00:00
Jim Meyering
391c960cba
Update call to human_readable -- now there's one fewer arg.
1998-06-29 15:56:23 +00:00
Jim Meyering
60ae0b81a5
(__xstrtol), src/dd.c (parse_integer):
...
Add support for SI-like suffixes like "GB" and "TD".
(usage): Describe it.
1998-06-29 15:36:28 +00:00
Jim Meyering
09d344df5b
(human_readable_base, output_units): Remove;
...
replace with new variable output_block_size. All uses changed.
(long_options, usage, main): Add --block-size.
(main, decode_switches): Use new human_block_size function to
initialize output block size consistently with other programs.
From Paul Eggert.
1998-06-29 15:34:54 +00:00
Jim Meyering
43f4099c95
(human_readable_base, output_units): Remove;
...
replace with new variable output_block_size. All uses changed.
(long_options, usage, main): Add --block-size.
(main, decode_switches): Use new human_block_size function to
initialize output block size consistently with other programs.
(print_header, show_dev): Shrink some columns and expand
others, to squeeze in support for today's larger filesystems.
(print_header): Print output block size using power-of-1024 SI format.
(df_readable): Coalesce last two args into one, for convenience.
All callers changed.
(main): Remove check for portable output format and larger
or human-readable block sizes.
From Paul Eggert.
1998-06-29 15:33:38 +00:00
Jim Meyering
868ed3b0af
(usage): Make --kilobytes description consistent with
...
that in du and df. From G?ran Uddeborg.
1998-06-29 03:42:50 +00:00
Jim Meyering
c5eb9edf26
Change all uses of unlocked-wrapped functions to their upper case wrapper names.
1998-06-29 02:13:21 +00:00
Jim Meyering
dd9470cb58
Change all uses of unlocked-wrapped functions to their upper case wrapper names.
1998-06-29 02:11:07 +00:00
Jim Meyering
02fc5fa0d0
Change all uses of unlocked-wrapped functions to their upper case wrapper names.
1998-06-29 02:10:24 +00:00
Jim Meyering
e989012b57
add #undefs, alphabetize
1998-06-29 01:00:51 +00:00
Jim Meyering
73ab48d4e7
experimental support for -t [optional fd] -- probably soon to be backed out
1998-06-28 21:53:05 +00:00
Jim Meyering
439fdff851
Add macro definitions for GNU libc unlocked wrappers.
1998-06-28 21:38:14 +00:00
Jim Meyering
933b990ab9
add a FIXME for output delimiter
1998-06-28 21:32:51 +00:00
Jim Meyering
a92dd43b7c
Add DIRED_ prefix to the macros: FPUTS and FPUTS_LITERAL.
1998-06-28 20:34:29 +00:00
Jim Meyering
d2698caef3
s/PUTCHAR/DIRED_PUTCHAR/g.
1998-06-28 20:31:16 +00:00
Jim Meyering
182a1780ac
(print_page): Break out of loop before double space test
...
if cols_ready_to_print is zero.
1998-06-27 23:43:40 +00:00
Jim Meyering
6ae99a4290
(copy_internal): Fix it so hard-link test is no longer hidden inside
...
big if-(backup_type == none) block.
1998-06-27 22:09:45 +00:00
Jim Meyering
9d9fef5595
(copy_reg): Detect identical source and dest here.
...
(copy_internal): Make the test symmetric.
1998-06-27 20:44:23 +00:00
Jim Meyering
d200f4974b
(remove_file): Remove `non-directory' part of
...
`removing non-directory FILE' verbose message.
1998-06-27 04:39:25 +00:00
Jim Meyering
de45950430
(show_dev): Increase field width for blocks, used,
...
and available columns from 7 to 8.
1998-06-24 03:02:06 +00:00
Jim Meyering
dcfb3e037a
(main): Fix argv-handling bug in my 1998-05-09 change.
...
Reported by Don Parsons.
1998-06-01 03:28:16 +00:00
Jim Meyering
9e1c89c38e
(two_arguments): Don't test argv[pos][2] if it's past end of string.
1998-05-26 13:36:49 +00:00
Jim Meyering
84d222f735
new version from automake-1.3
1998-05-24 17:43:17 +00:00
Jim Meyering
dd2934197b
tweak --changed diagnostic
1998-05-24 14:17:33 +00:00
Jim Meyering
45d32cef80
tweak comment
1998-05-24 13:36:54 +00:00
Jim Meyering
3f51edcdec
Accept new option, --dereference. --no-dereference is now the default.
...
(Change_status) [CH_NOT_APPLIED]: New member.
(change_symlinks): Enable this by default, now.
(describe_change): Handle new case.
(change_file_owner): Add new parameter: cmdline_arg. Update callers.
Reorganize to reflect changed semantics.
(LCHOWN): Remove definitions.
1998-05-24 12:51:37 +00:00
Jim Meyering
3fdd4e6cd2
add copyright
1998-05-16 20:21:39 +00:00
Jim Meyering
42755ceb62
cast for losing Solaris
1998-05-16 20:21:06 +00:00
Jim Meyering
24a7456cc0
(tac_seekable): Fix error in handling regex separators.
1998-05-16 20:06:56 +00:00
Jim Meyering
085866c1a3
(hash_compare_strings): Return true or false, not 1/0.
...
(remove_cwd_entries): Use RM_OK, not equivalent literal `1'.
1998-05-16 04:40:38 +00:00
Jim Meyering
15aac9a45d
(copy_internal): Plug a small leak.
1998-05-13 03:47:02 +00:00