]> 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>
Sun, 30 Sep 2012 16:05:59 +0000 (12:05 -0400)
commit2a24a656e6b659ab5871211f7ed0be890dcc7385
treea7406741cb8916aad00b18d083aadafaab5f9e94
parent49cbee44af825ecd80306e1fbe4d1cc942823466
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