summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
1998-03-26(batch_convert): Remove spurious space in error message.Jim Meyering
Reported by Karl Berry.
1998-03-23update from automake-2.1hJim Meyering
1998-03-22merge variables: forever_multiple and foreverJim Meyering
(recheck): New function. Begin to support --allow-missing option.
1998-03-21(tail_forever): plug gross fd leaksJim Meyering
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.
1998-03-21(decode_switches): Pass a null pointer instead of addressJim Meyering
of quotearg_quoting_options.
1998-03-19(show_dev): If fsu_bavail_top_bit_set is nonzero,Jim Meyering
assume the original value corresponding to fsu_bavail was negative.
1998-03-17*** empty log message ***Jim Meyering
1998-03-15(tail_file): Merge largely-duplicated blocks of code.Jim Meyering
1998-03-15Use #if, not #ifdef with HAVE_ macros.Jim Meyering
Use #if !, not #ifndef with HAVE_ macros.
1998-03-14s/get-date.h/getdate.h/Jim Meyering
1998-03-14s/get-date.h/getdate.h/Jim Meyering
1998-03-13(copy): Update prototype.Jim Meyering
1998-03-13(do_move): Add &copy_into_self arg in call to copy.Jim Meyering
Don't remove source directory when copy_into_self is nonzero. Reported by Arne Henrik Juul.
1998-03-13(do_copy): Add unused arg in calls to copy.Jim Meyering
1998-03-13(copy_dir): Add new parameter, copy_into_self, and set it.Jim Meyering
(copy_internal): Likewise. (copy): Likewise. Update all callers.
1998-03-13Use `virtual memory exhausted' message, notJim Meyering
`Memory exhausted' to be consistent with the majority of other such messages. Say `removing all...', not `removing any...'.
1998-03-13(remove_parents): Be consistent with documentation ofJim Meyering
--verbose option and with remove.c in saying `removing...' before the operation is attempted. (main): Likewise. Suggestions from Santiago Vila.
1998-03-13(usage): Tweak spacingJim Meyering
1998-03-11(save_stdin): Open temporary file exclusively, toJim Meyering
foil a common denial-of-service attack. From Paul Eggert.
1998-03-11(xtmpfopen): Open temporary file exclusively, toJim Meyering
foil a common denial-of-service attack. From Paul Eggert.
1998-02-25Include new file quotearg.h.Jim Meyering
(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.
1998-02-20Include get-date.h.Jim Meyering
Remove get_date decl.
1998-02-20s/getdate.h/get-date.h/Jim Meyering
1998-02-16(cp_option_init): Set copy_as_regular to 0, not 1.Jim Meyering
Otherwise, mv tries to open special files. Reported by Kjetil Torgrim Homme.
1998-02-08(usage): Reword to use `TARGET' and `LINK_NAME' in description.Jim Meyering
1998-02-06*** empty log message ***Jim Meyering
1998-02-06.Jim Meyering
1998-02-03add comments on #endif'sJim Meyering
1998-02-03(xgetgroups): Guard function defn with #if HAVE_GETGROUPS.Jim Meyering
1998-01-28(print_header): Change format to align heading overJim Meyering
last column of `df -i' output. From Andreas Schwab.
1998-01-25(parse_obsolescent_option): -l is an obsolescent option.Jim Meyering
1998-01-25(DO_CHOWN): Don't fail for non-root when chown fails dueJim Meyering
not only to lack of permission (EPERM), but also to lack of support (EINVAL). Reported by Bengt Martensson.
1998-01-25(re_protect): Don't fail for non-root when chown fails dueJim Meyering
not only to lack of permission (EPERM), but also to lack of support (EINVAL). Reported by Bengt Martensson.
1998-01-25(cat): Convert comma-expressions to pairs ofJim Meyering
semicolon-terminated stmts. Add braces around compound if/else stmts.
1998-01-24add missing `)'Jim Meyering
1998-01-24(parse_obsolescent_option): Do not interpret `-f -n 1 ...'Jim Meyering
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.
1998-01-24(TYPE_MINIMUM): Add extra outer cast to work aroundJim Meyering
bug in Cray C 5.0.3.0 when T == time_t.
1998-01-23add curliesJim Meyering
1998-01-22(quit): Declare to be inline to stifle compile warning.Jim Meyering
1998-01-22Reorder functions to obviate forward dcls.Jim Meyering
1998-01-22(do_copy): Add unreachable `return 0' to stifle warning.Jim Meyering
1998-01-22(copy_internal): Use x->backup_type, not the global.Jim Meyering
(valid_options): Use VALID_BACKUP_TYPE and VALID_SPARSE_MODE.
1998-01-22[NDEBUG]: Comment out definition.Jim Meyering
(do_copy): Use x->backup_type, not the global.
1998-01-22(rm_option_init): New function.Jim Meyering
(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.
1998-01-22Remove and minimally librarify guts for use in mv.c.Jim Meyering
(main): Pass options (`&x') to rm. Call remove_init and remove_fini instead of open-coding them.
1998-01-22*** empty log message ***Jim Meyering
1998-01-22New file. Contains guts of old rm.c.Jim Meyering
(remove_init): New function. (remove_fini): New function.
1998-01-22Declare new global, backup_type.Jim Meyering
(main): Initialize backup_type unconditionally. (do_link): Call find_backup_file_name with new argument, backup_type.
1998-01-22Declare new global, backup_type.Jim Meyering
(main): Initialize backup_type unconditionally. (copy_file): Call find_backup_file_name with new backup_type, argument.
1998-01-21(VALID_SPARSE_MODE): Define.Jim Meyering
[struct cp_options] (backup_type): New member.