From: Jim Meyering Date: Mon, 12 Apr 1999 03:47:17 +0000 (+0000) Subject: . X-Git-Tag: TEXTUTILS-1_22i~5 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=924b7e22918f9b3ab12542b77c91cb08338ce1a2;p=platform%2Fupstream%2Fcoreutils.git . --- diff --git a/old/textutils/ChangeLog b/old/textutils/ChangeLog index c2a3c61..8b62a1e 100644 --- a/old/textutils/ChangeLog +++ b/old/textutils/ChangeLog @@ -1,5 +1,18 @@ 1999-04-11 Jim Meyering + Fix the problem whereby `yes > k & sleep 1; tail -2c k' would infloop. + * src/tail.c (COPY_TO_EOF): Define. + (dump_remainder): Add parameter, n_bytes, and rewrite to use it. + Update callers. + (file_lines): Rename parameter. + (tail_bytes): Remove obsolete comment. + + Fix the problem whereby `yes > k & tail -1 k' would infloop. + * src/tail.c (dump_remainder): Move this function to precede the + new use in file_lines. + (tail_lines): Don't call dump_remainder here. + (file_lines): Call dump_remainder here instead. + * lib/readtokens.c (readtoken, readtokens): Protoize. 1999-04-10 Jim Meyering