Fix blocking in inotify reader.
authorDana Jansens <danakj@orodu.net>
Tue, 26 Jul 2011 13:40:52 +0000 (09:40 -0400)
committerDana Jansens <danakj@orodu.net>
Wed, 5 Oct 2011 17:34:38 +0000 (13:34 -0400)
commita53bab1b5077f6745afa6b5e23e5b774d8766e3e
treebf032eae65d3bae232bcc944a5dea1b7200ce096
parent38f2d35e265c4c28334b68cf3d64ee33dd78b5f8
Fix blocking in inotify reader.

If the inotify reader reads an event and it ends at the same place the read()
  ended, then we don't know that there is anything more available, so don't
  try read() again until after it has been poll()'d.
obt/watch_inotify.c