Revision 1203424

Go back to digest for 5th December 2010

Bug Fixes in KDE Base

Michael Pyne committed changes in /branches/KDE/4.5/kdelibs/kdecore/util/kshareddatacache.cpp:

Be more correct with a return type in KSharedDataCache.

Vishal Rao noticed that a lock validity check returned false in a function
expected to return unsigned. (It actually happened twice :( )

C++ converts the value false to the proper value (0), which happened to be
correct as an unsigned int here as well (it even compiled with no warning). I'm
correcting this for the sake of posterity however, although there should be no
user-visible effect.

This is in the 4.5 branch (4.5.5 release), I will verify this isn't also a
problem in trunk. Thanks to Vishal Rao for noticing.

File Changes

Modified 1 files
  • /branches/KDE/4.5/kdelibs/kdecore/util/kshareddatacache.cpp
1 files changed in total