tail: avoid an inotify portability problem in kernels prior to 2.6.21
authorGiuseppe Scrivano <gscrivano@gnu.org>
Thu, 2 Jul 2009 21:38:46 +0000 (23:38 +0200)
committerJim Meyering <meyering@redhat.com>
Fri, 3 Jul 2009 15:52:30 +0000 (17:52 +0200)
commitd9f83f9a603a2f5ecdc13bbe65e22aba49d43d66
treeab3cb47bb125147d0bed8d56c693b9d0456f0453
parent66ac50e723096b7350b2a4be004c71b6b6ccc612
tail: avoid an inotify portability problem in kernels prior to 2.6.21

* src/tail.c (tail_forever_inotify): Handle the special case in which
an old inotify watcher returns 0.  Affects kernels in [2.6.13, 2.6.21).
src/tail.c