tail: with --pid, ensure all inotify events are processed
commitba16bdd89064a58d828d557827a473fc02b0d5ad
authorPádraig Brady <P@draigBrady.com>
Wed, 7 Jun 2017 07:17:57 +0000 (7 00:17 -0700)
committerPádraig Brady <P@draigBrady.com>
Wed, 7 Jun 2017 17:09:46 +0000 (7 10:09 -0700)
treeea4855e7359ae69ce120d768cf37f5301df90fa2
parentfd41e49973f3d5d112ebacdeb4b7fec90753ae0d
tail: with --pid, ensure all inotify events are processed

* NEWS: Mention the bug fix.
* src/tail.c (tail_forever_inotify): With --pid, avoid waiting
for new events if there are still events to process.
* tests/tail-2/inotify-dir-recreate.sh: Adjust to trigger.
NEWS
src/tail.c
tests/tail-2/inotify-dir-recreate.sh