tail: avoid new diagnostic when applying -f to a pipe on linux-2.3.38
authorJim Meyering <meyering@redhat.com>
Mon, 24 Jan 2011 08:37:10 +0000 (09:37 +0100)
committerJim Meyering <meyering@redhat.com>
Mon, 24 Jan 2011 09:02:19 +0000 (10:02 +0100)
commit8264fc615a1beb82e062949e5cf17c852fcfaaaf
tree248652756c10e04341753077828b39640acf48fe
parent4afbba7bac2c292e982978a0744f153375c1e18e
tail: avoid new diagnostic when applying -f to a pipe on linux-2.3.38

* src/tail.c (fremote): Do not print a diagnostic when
fstatfs (pipe_FD, &buf) fails, as it now does on linux-2.3.38.
This avoids the spurious failure of tests/misc/tail's f-pipe-1
test, when running in input-from-pipe mode.
src/tail.c