Hello community, here is the log from the commit of package katapult checked in at Mon Dec 11 15:48:11 CET 2006. -------- --- KDE/katapult/katapult.changes 2006-11-05 10:20:13.000000000 +0100 +++ /mounts/work_src_done/STABLE/katapult/katapult.changes 2006-12-11 13:32:04.000000000 +0100 @@ -1,0 +2,5 @@ +Mon Dec 11 13:31:45 CET 2006 - dmueller@suse.de + +- fix comparison against string literal (#226874) + +------------------------------------------------------------------- New: ---- fixme.diff ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ katapult.spec ++++++ --- /var/tmp/diff_new_pack.Gdx2u2/_old 2006-12-11 15:47:02.000000000 +0100 +++ /var/tmp/diff_new_pack.Gdx2u2/_new 2006-12-11 15:47:02.000000000 +0100 @@ -13,13 +13,14 @@ Name: katapult BuildRequires: kdelibs3-devel URL: http://wiki.thekatapult.org.uk/ -License: GNU General Public License (GPL) - all versions +License: GNU General Public License (GPL) Group: System/GUI/KDE Summary: An application launcher BuildRoot: %{_tmppath}/%{name}-%{version}-build Version: 0.3.1.4 -Release: 1 +Release: 10 Source0: katapult_%{version}.orig.tar.gz +Patch0: fixme.diff %description An application launcher inspired by Quicksilver for OS X @@ -40,6 +41,7 @@ %prep %setup -q +%patch0 . /etc/opt/kde3/common_options update_admin @@ -73,6 +75,8 @@ /opt/kde3/share/servicetypes/katapult* %changelog -n katapult +* Mon Dec 11 2006 - dmueller@suse.de +- fix comparison against string literal (#226874) * Sun Nov 05 2006 - stbinner@suse.de - update to 0.3.1.4: small bugfixes and translation updates * Mon May 22 2006 - dmueller@suse.de ++++++ fixme.diff ++++++ --- katapult/plugins/catalogs/documentcatalog/documentcatalog.cpp +++ katapult/plugins/catalogs/documentcatalog/documentcatalog.cpp @@ -173,7 +173,8 @@ if(files.count() > 0) { newStatus |= S_HasResults; - if(files.count() > 1 || files.at(0)->className() == "Directory") + if(files.count() > 1 || !strcmp(files.at(0)->className(), + "Directory")) newStatus |= S_Multiple; } else newStatus |= S_NoResults; ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org