summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
1998-04-26Do not define _GNU_SOURCE and/or NDEBUGJim Meyering
1998-04-26[struct File_spec] (pretty_name): Remove member.Jim Meyering
(pretty_name): New function.
1998-04-26Remove usage-like comments near beginning of file.Jim Meyering
1998-04-26(xwrite): New function -- converted from macro.Jim Meyering
1998-04-26(close_fd): New function -- converted from macro.Jim Meyering
[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.
1998-04-26(md5_check): Declare local, `md5num' as _unsigned_ char*.Jim Meyering
(hex_digits): Declare parameter `s' as _unsigned_ char*. (split_3): Declare parameter `u' as _unsigned_ char**.
1998-04-26(print_nth_dir): Remove first (and always-true) part of conjunct in assertion.Jim Meyering
1998-04-17(xfields): Used unsigned char* pointers to avoidJim Meyering
1998-04-17(check_punctuation): Used unsigned char* pointers to avoidJim Meyering
1998-04-14Use STREQ in string equality tests, not strcmp.Jim Meyering
1998-04-12Include safe-read.h instead of merely declaring safe_read.Jim Meyering
1998-04-12Use STREQ rather than strcmpJim Meyering
1998-04-12(wc): Declare per-file counters and `linepos' to be of type uintmax_t.Jim Meyering
Declare bytes_read to be ssize_t.
1998-04-11Include safe-read.h instead of merely declaring safe_read.Jim Meyering
1998-04-11Include safe-read.h instead of merely declaring safe_read.Jim Meyering
1998-04-11[HAVE_INTTYPES_H]: Include inttypes.h.Jim Meyering
Declare counters to be of type uintmax_t. (write_counts): Use human_readable to format potentially-long-long numbers. Suggestion from Rogier Wolff.
1998-04-11*** empty log message ***Jim Meyering
1998-04-06(cph_hash_insert): Rename from now-conflicting hash_insert.Jim Meyering
Also declare to be static.
1998-04-06(hash_insert): Remove declaration.Jim Meyering
1998-04-06Change names/usage of hash-related functions to work with the above.Jim Meyering
1998-04-04Use "%s", not device_name, as the format string, in case theJim Meyering
latter contains `%'.
1998-04-04clean up commentsJim Meyering
1998-04-04(valid_options): Parenthesize assignment in while expr.Jim Meyering
(main): Remove dcl of unused `cp'.
1998-04-04Use STREQ in place of strcmp everywhere.Jim Meyering
(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.
1998-04-04[1998-03-31 Theodore Ts'o <tytso@rsts-11.mit.edu>]Jim Meyering
(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.
1998-04-01(compare_ctime, rev_cmp_ctime, compare_mtime,Jim Meyering
rev_cmp_mtime, compare_atime, rev_cmp_atime, compare_size, rev_cmp_size): Use file name as secondary sort key to get consistent sorting.
1998-03-31(TYPE_MAXIMUM): Cast result to `(t)' so this macro works with `unsigned char'.Jim Meyering
From Greg Wooledge. (SCHAR_MIN, SCHAR_MAX, SHRT_MIN, SHRT_MAX, LONG_MAX, ULONG_MAX): Define.
1998-03-28Add copyright.Jim Meyering
1998-03-28Add copyright.Jim Meyering
[_AIX]: Add #pragma alloca.
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.