Age | Commit message (Collapse) | Author |
|
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.
|
|
Remove get_date decl.
|
|
|
|
Otherwise, mv tries to open special files.
Reported by Kjetil Torgrim Homme.
|
|
|
|
|
|
|
|
|
|
|
|
last column of `df -i' output. From Andreas Schwab.
|
|
|
|
not only to lack of permission (EPERM), but also to lack of support
(EINVAL). Reported by Bengt Martensson.
|
|
not only to lack of permission (EPERM), but also to lack of support
(EINVAL). Reported by Bengt Martensson.
|
|
semicolon-terminated stmts.
Add braces around compound if/else stmts.
|
|
|
|
as obsolescent options.
Accept new option: --sleep-interval=SECONDS (-s).
(parse_options): Recognize it.
(usage): Describe it.
(tail_forever): Use it.
(dump_remainder): Use it.
|
|
bug in Cray C 5.0.3.0 when T == time_t.
|
|
|
|
|
|
|
|
|
|
(valid_options): Use VALID_BACKUP_TYPE and VALID_SPARSE_MODE.
|
|
(do_copy): Use x->backup_type, not the global.
|
|
(cp_option_init): New function.
(copy_reg): Remove now-unused function.
(do_move): Set up for and use `copy.c (copy)' in place of copy_reg.
Set up for and use `remove.c (rm)' in place of unlink.
|
|
(main): Pass options (`&x') to rm.
Call remove_init and remove_fini instead of open-coding them.
|
|
|
|
(remove_init): New function.
(remove_fini): New function.
|
|
(main): Initialize backup_type unconditionally.
(do_link): Call find_backup_file_name with new argument, backup_type.
|
|
(main): Initialize backup_type unconditionally.
(copy_file): Call find_backup_file_name with new backup_type, argument.
|
|
[struct cp_options] (backup_type): New member.
|