[frameworks/kcoreaddons] src/lib/io: kdirwatch: fixme++

Harald Sitter <[email protected]>
Newsgroups gmane.comp.kde.cvs
Message-ID <[email protected]>
Git commit 59cf1cf6f76b51f8c93b376823e6a2b1173e00e2 by Harald Sitter.
Committed on 05/08/2026 at 23:09.
Pushed by sitter into branch 'master'.

kdirwatch: fixme++

M  +1    -0    src/lib/io/kdirwatch.cpp

https://invent.kde.org/frameworks/kcoreaddons/-/commit/59cf1cf6f76b51f8c93b376823e6a2b1173e00e2

diff --git a/src/lib/io/kdirwatch.cpp b/src/lib/io/kdirwatch.cpp
index b34cd87e..36cf0254 100644
--- a/src/lib/io/kdirwatch.cpp
+++ b/src/lib/io/kdirwatch.cpp
@@ -1569,6 +1569,7 @@ void KDirWatchPrivate::unref(KDirWatch *watch)
 #if HAVE_SYS_INOTIFY_H
 QString KDirWatchPrivate::inotifyEventName(const inotify_event *event) const
 {
+    // FIXME: mind that this code is wrong when multiple bits are set in the same mask
     if (event->mask & IN_OPEN) {
         return QStringLiteral("OPEN");
     }
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.