]> git.ipfire.org Git - thirdparty/coreutils.git/commit
tail: with -f don't warn if doing a blocking read of a tty
authorPádraig Brady <P@draigBrady.com>
Thu, 15 Jun 2017 09:41:14 +0000 (02:41 -0700)
committerPádraig Brady <P@draigBrady.com>
Sat, 17 Jun 2017 21:50:00 +0000 (14:50 -0700)
commitaab875a40b61711077e90be904c9977b47931ec3
tree2b4f09920cad4c47bd34efffc9d9b11e56881ccc
parentce0415fda108b7ec35181118fd7a2c9ee70331ee
tail: with -f don't warn if doing a blocking read of a tty

* src/tail.c: (main): Only issue the warning about -f being
ineffective when we're not going into simple blocking mode.
* tests/tail-2/follow-stdin.sh: Ensure the warning is output correctly.
Fixes http://bugs.gnu.org/27368
NEWS
src/tail.c
tests/tail-2/follow-stdin.sh