summaryrefslogtreecommitdiff
path: root/src/tail.c
AgeCommit message (Collapse)Author
1999-01-14Don't prototype usage as static.Jim Meyering
1999-01-09s/max_n_consecutive_size_changes/max_n_consecutive_size_changes_between_opens/Jim Meyering
1999-01-09(parse_obsolescent_option): Interpret `number' as decimal.Jim Meyering
(parse_options): Likewise. Reported by Kamal Paul Nigam. New option: --max-unchanged-stats=N. New option: --max-n-consecutive-size-changes=N.
1999-01-02(parse_options): Use XARGMATCH in place of argmatch.Jim Meyering
1999-01-01(tail_lines, tail_bytes) [O_BINARY]: Use binary I/O when appropriate.Jim Meyering
1999-01-01(parse_options): Use XARGCASEMATCH in place of argmatch.Jim Meyering
1998-12-17New options for tail: --follow=name, --follow=descriptor, --allow-missingJim Meyering
(Follow_mode): New enum. (n_live_files): New function. (tail_forever): Avoid starvation with --follow=name and a continually-growing unlinked or renamed file.
1998-09-19update bug-reporting addressJim Meyering
1998-08-30Don't assume ASCII.Jim Meyering
1998-06-29revert back to using lower case _unlocked wrapper namesJim Meyering
1998-06-29Change all uses of unlocked-wrapped functions to their upper case wrapper names.Jim 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-12Include safe-read.h instead of merely declaring safe_read.Jim 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-17*** empty log message ***Jim Meyering
1998-03-15(tail_file): Merge largely-duplicated blocks of code.Jim Meyering
1998-01-25(parse_obsolescent_option): -l is an obsolescent option.Jim Meyering
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-10CHAR_BIT SCHAR_MAX UCHAR_MAX SHRT_MAX INT_MAX UINT_MAX LONG_MAX ULONG_MAXJim Meyering
Remove definitions of those symbols. * src/csplit.c: Move inclusion of regex.h/rx.h to follow system.h since it now includes limit.h which defines RE_DUP_MAX. * src/nl.c: Likewise. * src/tac.c: Likewise.
1997-10-25Remove old-style xmalloc and xrealloc decls.Jim Meyering
1997-10-07update bug-reporting addressJim Meyering
1997-07-22(parse_obsolescent_option): #ifdef-out portability warning.Jim Meyering
1997-07-05(parse_obsolescent_option): If POSIXLY_CORRECT is set, giveJim Meyering
a diagnostic and fail when there are two or more non-option arguments.
1997-02-16Add missing paren.Jim Meyering
1997-02-16(parse_obsolescent_option): Reverse order of args in diagnostic.Jim Meyering
Remove `' quotes in diagnostic. (parse_options): Remove `' quotes in diagnostic.
1997-02-09change wording in messageJim Meyering
1997-02-09update copyrights for 1997Jim Meyering
1997-02-09(parse_obsolescent_option): Give warning diagnostic forJim Meyering
(but now accept) obsolescent usage with more than one file argument.
1997-02-01bracket bug address with <> and append a periodJim Meyering
1997-02-01Compare getopt_long return value against -1, not EOF. Use NULL, not '(int ↵Jim Meyering
*) 0' as last parameter in getopt_long call.
1997-01-27really make the messages identicalJim Meyering
1997-01-26(parse_options): Add quotes to make messages identical.Jim Meyering
1997-01-26(parse_options): Remove unnecessary goto and label.Jim Meyering
1997-01-26(parse_obsolescent_option): Comment.Jim Meyering
1997-01-25.Jim Meyering
1997-01-24(parse_obsolescent_option): Recognize and fail forJim Meyering
more malformed obsolescent options. Makes for better diagnostics.
1997-01-23(parse_options): New function.Jim Meyering
(parse_obsolescent_option): New function. (main): Use the new functions instead of open-coding them. This better fixes the bug in handling obsolescent `+Nc' options. General cleanup.
1997-01-22(main): Properly handle what the POSIX spec callsJim Meyering
the `obsolescent' usage (e.g., tail +2c). It didn't work. Reported by Karl Heuer.
1996-11-03change bug-reporting addressJim Meyering
1996-11-02change bug-reporting addressJim Meyering
1996-10-04(main): update --version output againJim Meyering
1996-10-04(main): update --version output to conform to coding standardJim Meyering
1996-09-02(usage): Tell where to report bugs.Jim Meyering
1996-05-31(main): Interpret the old-style +VALUE and -VALUEJim Meyering
options like -c VALUE and -c +VALUE (resp) when VALUE has one of the [bkm] suffix multipliers. This makes the code consistent with --help output.
1996-04-24update Copyright years for 1996Jim Meyering