rpms/kdelibs/F-9 kdelibs-4.0.4-kdirmodel-crash.patch, NONE, 1.1 kdelibs.spec, 1.320, 1.321
Lukas Tinkl (ltinkl)
fedora-extras-commits at redhat.com
Tue May 27 17:16:39 UTC 2008
Author: ltinkl
Update of /cvs/extras/rpms/kdelibs/F-9
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv1699
Modified Files:
kdelibs.spec
Added Files:
kdelibs-4.0.4-kdirmodel-crash.patch
Log Message:
Fixes a crash when you are using two different protocols and move
through the tree.
kdelibs-4.0.4-kdirmodel-crash.patch:
--- NEW FILE kdelibs-4.0.4-kdirmodel-crash.patch ---
--- kdelibs/kio/kio/kdirmodel.cpp 2008/05/27 15:27:46 813403
+++ kdelibs/kio/kio/kdirmodel.cpp 2008/05/27 15:27:57 813404
@@ -184,7 +184,7 @@
return qMakePair(row, *it);
}
// This used to be urlStr.startsWith(u.url()+'/'), but KUrl::url() is a slow operation.
- if ( pathStr.startsWith(u.path()+'/') ) {
+ if ( (url.protocol() == u.protocol()) && (pathStr.startsWith(u.path()+'/')) ) {
//kDebug(7008) << "going into " << node->item().url();
Q_ASSERT( isDir(*it) );
dirNode = static_cast<KDirModelDirNode *>( *it );
Index: kdelibs.spec
===================================================================
RCS file: /cvs/extras/rpms/kdelibs/F-9/kdelibs.spec,v
retrieving revision 1.320
retrieving revision 1.321
diff -u -r1.320 -r1.321
--- kdelibs.spec 27 May 2008 15:20:22 -0000 1.320
+++ kdelibs.spec 27 May 2008 17:15:57 -0000 1.321
@@ -1,7 +1,7 @@
Summary: K Desktop Environment 4 - Libraries
Version: 4.0.4
-Release: 9%{?dist}
+Release: 10%{?dist}
%if 0%{?fedora} > 8
Name: kdelibs
@@ -97,6 +97,8 @@
# fix kdebug:48704: document.styleSheets.length does not return the correct number under all circumstances
#Â http://websvn.kde.org/?view=rev&revision=812538
Patch22: kdelibs-4.0.4-khtml-DOMStyleSheetList.patch
+# http://websvn.kde.org/?view=rev&revision=813404
+Patch23: kdelibs-4.0.4-kdirmodel-crash.patch
## upstream patches
@@ -223,6 +225,7 @@
%patch20 -p1 -b .khtml-combobox
%patch21 -p1 -b .khtml-anonboxes
%patch22 -p1 -b .khtml-DOMStyleSheetList
+%patch23 -p1 -b .kdirmodel-crash
%build
@@ -383,6 +386,9 @@
%changelog
+* Tue May 27 2008 Lukáš Tinkl <ltinkl at redhat.com> - 4.0.4-10
+- Fixes a crash when you are using two different protocols and move through the tree
+
* Tue May 27 2008 Lukáš Tinkl <ltinkl at redhat.com> - 4.0.4-9
- fix kdebug:161196: Drop-down list options display blank when a comment is added between option tags
- fix kdebug:156419: konqueror crash on http://pidgin.im/
More information about the fedora-extras-commits
mailing list