File qnotify-warn.dif of Package qnotify
--- qnotify/fileIO.cpp +++ qnotify/fileIO.cpp @@ -134,6 +134,7 @@ if (_list.isEmpty()) return false; memcpy(node, &*_list.begin(), sizeof(struct wNode)); + return 1; } int FileIO::getLast(wNode * node) @@ -141,6 +142,7 @@ if (_list.isEmpty()) return false; memcpy(node, &_list.last(), sizeof(struct wNode)); + return 1; } #include <errno.h> @@ -170,4 +172,5 @@ _file.flush(); flock(_file.handle(), LOCK_UN); _file.close(); + return 1; }