From: Paul Eggert Date: Thu, 22 Jul 2004 20:55:12 +0000 (+0000) Subject: Add fix for "tail -f" when stdin is a pipe. X-Git-Tag: v5.3.0~1110 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=21e0573220769c58d5275664385786a12b71f513;p=thirdparty%2Fcoreutils.git Add fix for "tail -f" when stdin is a pipe. --- diff --git a/ChangeLog b/ChangeLog index 39eec6a8f5..ee8c8336ac 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,14 @@ +2004-07-22 Paul Eggert + + * src/tail.c (main): Ignore -f if no file operand is specified + and standard input is a pipe. + * doc/coreutils.texi (tail invocation): Do not ignore -f for + all pipes, just for when standard input is a pipe and no + file operand is specified. + * tests/tail/Test.pm: Reinstate f-1 test, since we now pass. + Add a new commented-out f-2 test, which we still fail. + (test_vector): All f-* tests are special cases, not just f-1. + 2004-07-12 Paul Eggert * src/uptime.c: Include c-strtod.h.