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>
Sun, 16 Oct 2011 22:54:05 +0000 (18:54 -0400)
commit46a6124832ed1286b5af2b882a74704809467405
treede7f1fca1c0727186fc5bdcebb9ac4b4dbbe5ff3
parent835a3521a8335dbcd1383567699e18732a415152
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