Age | Commit message (Collapse) | Author |
|
|
|
(pretty_name): New function.
|
|
|
|
|
|
[struct File_spec] (n_stat_calls): New member.
[struct File_spec] (n_unchanged_stats): New member.
(max_n_unchanged_stats): New global.
Initialize new members.
|
|
(hex_digits): Declare parameter `s' as _unsigned_ char*.
(split_3): Declare parameter `u' as _unsigned_ char**.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Declare bytes_read to be ssize_t.
|
|
|
|
|
|
Declare counters to be of type uintmax_t.
(write_counts): Use human_readable to format potentially-long-long
numbers. Suggestion from Rogier Wolff.
|
|
|
|
Also declare to be static.
|
|
|
|
|
|
latter contains `%'.
|
|
|
|
(main): Remove dcl of unused `cp'.
|
|
(valid_options): Indent
(main): s/case 'f':/case 'F':/
Tweak error messages to make them consistent.
Remove #if-0'd block.
Move dcl of fdflags into scope where it's used.
|
|
(main): Fix broken options parsing that worked only
by serendipity (getopt_long_only already parsed short options; no
need to parse them again manually!). Add support for the --file
option, which allows the user to specify the device whose line
settings are to be set. This is necessary because POSIX ttys will
block waiting for carrier detect to go high if CLOCAL is not set,
unless the device is opened with the O_NONBLOCK flag.
Unfortunately, the shell doesn't use this flag, so users lose.
Opening the device in stty is the easist way to fix this.
(speeds): Add support for 230400 and 460800 line speeds, which are
supported by Linux.
|
|
rev_cmp_mtime, compare_atime, rev_cmp_atime, compare_size,
rev_cmp_size): Use file name as secondary sort key to get
consistent sorting.
|
|
From Greg Wooledge.
(SCHAR_MIN, SCHAR_MAX, SHRT_MIN, SHRT_MAX, LONG_MAX, ULONG_MAX): Define.
|
|
|
|
[_AIX]: Add #pragma alloca.
|
|
Reported by Karl Berry.
|
|
|
|
(recheck): New function.
Begin to support --allow-missing option.
|
|
Don't close stdin
Don't print header unnecessarily if the first file to grow
is the last one for which a header was printed.
|
|
of quotearg_quoting_options.
|
|
assume the original value corresponding to fsu_bavail was negative.
|
|
|
|
|
|
Use #if !, not #ifndef with HAVE_ macros.
|
|
|
|
|
|
|
|
Don't remove source directory when copy_into_self is nonzero.
Reported by Arne Henrik Juul.
|
|
|
|
(copy_internal): Likewise.
(copy): Likewise.
Update all callers.
|
|
`Memory exhausted' to be consistent with the majority of other
such messages.
Say `removing all...', not `removing any...'.
|
|
--verbose option and with remove.c in saying `removing...' before
the operation is attempted.
(main): Likewise.
Suggestions from Santiago Vila.
|
|
|
|
foil a common denial-of-service attack.
From Paul Eggert.
|
|
foil a common denial-of-service attack.
From Paul Eggert.
|
|
(enum indicator_style): Rename all to classify, and not_programs
to file_type, to match option spellings. All users changed.
(indicator_style_args): New constant.
(quote_funny_chars, quote_as_string, quote_shell): Remove;
(filename_quoting_options, dirname_quoting_options): Use these
variables instead.
(long_options): Add --indicator-style, --quoting-style,
--show-control-chars. Remove --quote-shell.
(dired_dump_obstack): Remove style parameter and don't output style.
(main): Go back to previous method of outputting //DIRED//
and //SUBDIRED// lines, without style. But add a new
//DIRED-OPTIONS// line that does output style.
(decode_switches, usage): Add --indicator-style, --quoting-style,
--show-control-chars. Remove --quote-shell.
(decode_switches): Default from QUOTING_STYLE environment variable.
Set new quoting vars.
(quote_name): Renamed from quote_filename.
Take new arg specifying quoting options.
Always print; do not have a special case for null FILE * argument.
All callers changed.
Move the guts of this function to new file quotearg.c.
(length_of_file_name_and_frills): Use quotearg_buffer instead
of (old) quote_filename to find length of file name.
(decode_switches, parse_ls_color, print_dir, gobble_file,
get_link_name): Quote output in diagnostics.
|