summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
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.
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