Revision 662d24f...

Go back to digest for 9th December 2012

Bug Fixes in KDE Base

Vishesh Handa committed changes in [nepomuk-core] /filewatch:

FileWatch: Remove any existing dirIterator when removing the watches

When issuing a command to remove the watches, watches could be being
added at that point. In that case one should remove those iterators so
that watches are not added after it is unmounted. Also, the dirIterators
seem to prevent the medium from being unmounted.

Also make sure _k_addWatches is invoked if the dir iterater list is not
empty. There can be a case when there is only 1 dir iterator, and it
fails to add a watch. In that case _k_addWatches is not called again,
and that iterator is never removed. This happened to me for a
'lost+found' directory.

FIXED-IN: 4.10

File Changes

Modified 2 files
  • /filewatch
  •   services/kinotify.cpp
  •   services/nepomukfilewatch.cpp
2 files changed in total