--- qt-everywhere-commercial-src-4.6.3/src/corelib/io/qfilesystemwatcher_kqueue.cpp 2010-07-14 14:53:14.000000000 +0400 +++ qt-everywhere-commercial-src-4.6.3/src/corelib/io/qfilesystemwatcher_kqueue.cpp 2010-07-14 14:54:11.000000000 +0400 @@ -298,12 +298,12 @@ path = idToPath.value(id); if (path.isEmpty()) { DEBUG() << "QKqueueFileSystemWatcherEngine: received a kevent for a file we're not watching"; - continue; + goto process_next_event; } } if (kev.filter != EVFILT_VNODE) { DEBUG() << "QKqueueFileSystemWatcherEngine: received a kevent with the wrong filter"; - continue; + goto process_next_event; } if ((kev.fflags & (NOTE_DELETE | NOTE_REVOKE | NOTE_RENAME)) != 0) { @@ -340,6 +340,7 @@ } // are there any more? +process_next_event: r = kevent(kqfd, 0, 0, &kev, 1, &ZeroTimeout); } while (r > 0); }