Revision 34cc80c...

Go back to digest for 30th October 2011

Bug Fixes in KDE Base

Sebastian Trueg committed changes in [nepomuk-core] /fileindexer:

Fixed FileIndexerConfig::shouldBeIndexed for exclude filters.

We did not take one issue into account before: imagine we have an
exclude filter "build" and a folder $HOME/x/build/y/. This folder
should not be indexed. This was not handled before.
By checking each component of a path starting from the include folder
this case is now handled, too.

One problem remains: the IndexCleaner does not take this issue into
account yet. This means it will not cleanup all required entries yet.

File Changes

Modified 5 files
  • /fileindexer
  •   servicesconfig.cpp
  •   servicesconfig.h
  •   services/indexcleaner.cpp
  •   services/testconfigtest.cpp
  •   services/testconfigtest.h
5 files changed in total