Revision 1201149

Go back to digest for 28th November 2010

Bug Fixes in KDE Base

David Faure committed changes in /trunk/KDE/kdelibs/kdecore:

Ensure that KStandardDirs always returns resolved paths (when $HOME or $KDEHOME is a symlink),
even when returning paths that don't exist yet. Otherwise, via caches (the kstandarddirs one
or in applications), we can end up with a different path once it does exist, and comparisons
will fail (e.g. the one in KConfigPrivate::parseConfigFiles which detects the local file).

(So this fixes "kconfigtest testRevertAllEntries" when $HOME is a symlink, but has its own
setup-independent unittest now)

File Changes

Modified 3 files
  • /trunk/KDE/kdelibs/kdecore
  •   /kernel/kstandarddirs.cpp
  •   /tests/kstandarddirstest.cpp
  •   /tests/kstandarddirstest.h
3 files changed in total