summaryrefslogtreecommitdiffstats
path: root/kioslave
diff options
context:
space:
mode:
authorDarrell Anderson <humanreadable@yahoo.com>2012-04-04 21:53:58 -0500
committerDarrell Anderson <humanreadable@yahoo.com>2012-04-04 21:53:58 -0500
commit9e172fa7a1e93cc77e09616eb793b823d29ebaec (patch)
tree070fdfbbc969f39b4d3576c72a16fbaa93fe2573 /kioslave
parentad84562df0d96b5a40a305788dd05acd33281e39 (diff)
downloadtdebase-9e172fa7a1e93cc77e09616eb793b823d29ebaec.tar.gz
tdebase-9e172fa7a1e93cc77e09616eb793b823d29ebaec.zip
Temporary fix for a probable race condition on some systems.
Still needs to be resolved by determining the root cause. Partially resolves bug report 760.
Diffstat (limited to 'kioslave')
-rw-r--r--kioslave/system/kdedmodule/systemdirnotify.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/kioslave/system/kdedmodule/systemdirnotify.cpp b/kioslave/system/kdedmodule/systemdirnotify.cpp
index 162d96621..99b9ac764 100644
--- a/kioslave/system/kdedmodule/systemdirnotify.cpp
+++ b/kioslave/system/kdedmodule/systemdirnotify.cpp
@@ -36,6 +36,9 @@ SystemDirNotify::SystemDirNotify()
void SystemDirNotify::init()
{
if( mInited )
+ // FIXME Work around a race condition by inserting kdDebug delay before following
+ // code is executed -- the root cause of the race should be investigated and fixed.
+ kdDebug() << "SystemDirNotify::init(" << mInited << ")" << endl;
return;
mInited = true;
KGlobal::dirs()->addResourceType("system_entries",