[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: branches/KDE/4.5/kdelibs/kio/kio
From: David Faure <faure () kde ! org>
Date: 2010-10-11 17:28:26
Message-ID: 20101011172826.9FD19AC7E4 () svn ! kde ! org
[Download RAW message or body]
SVN commit 1184881 by dfaure:
Dump more information on stderr when dir=0, which seems to be the case in the valgrind of bug 197851
CCBUG: 197851
M +7 -1 kdirlister.cpp
--- branches/KDE/4.5/kdelibs/kio/kio/kdirlister.cpp #1184880:1184881
@@ -1610,10 +1610,16 @@
}
DirItem *dir = itemsInUse.value(jobUrlStr, 0);
+ if (!dir) {
+ kError(7004) << "Internal error: itemsInUse did not contain" << jobUrlStr;
+#ifndef NDEBUG
+ printDebug();
+#endif
Q_ASSERT(dir);
+ } else {
dir->complete = true;
+ }
-
// check if anyone wants the mimetypes immediately
bool delayedMimeTypes = true;
foreach ( KDirLister *kdl, listers )
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic