]> icculus.org git repositories - dana/openbox.git/commit
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, 3 Aug 2011 21:44:58 +0000 (17:44 -0400)
commitda21aa9407170fab7d0ce5fe8dce634289cf5dd5
tree1e978cb1b6c70f0d0ea4c27fc60b2627eb246bb6
parenteb3a2f3a7e1788ebb19b6bc6a9ec1e4035fe400c
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