tail -f: avoid a race condition
authorGiuseppe Scrivano <gscrivano@gnu.org>
Mon, 12 Oct 2009 20:16:03 +0000 (22:16 +0200)
committerJim Meyering <meyering@redhat.com>
Thu, 22 Oct 2009 07:11:24 +0000 (09:11 +0200)
commitcd0f3036f606276654f2293a4d90df5efd21bd99
treeb25b9b1bcbcaab725949f47f9193613b090c983f
parent9abbe32c2e7d13d9767679c52f8e3de823f94310
tail -f: avoid a race condition

* NEWS (Bug fixes): Mention it.
* src/tail.c (check_fspec): New function.
(tail_forever_inotify): Ensure there is no new data before entering the
inotify events wait loop.
NEWS
gnulib
src/tail.c