Hello community, here is the log from the commit of package bbtools checked in at Wed Apr 18 21:27:07 CEST 2007. -------- --- bbtools/bbtools.changes 2006-12-14 02:32:21.000000000 +0100 +++ /mounts/work_src_done/STABLE/bbtools/bbtools.changes 2007-04-18 18:40:01.000000000 +0200 @@ -1,0 +2,5 @@ +Mon Apr 16 17:53:46 CEST 2007 - pcerny@suse.cz + +- fixed comparision with string literal [#229783] + +------------------------------------------------------------------- New: ---- bbkeys-0.9.0-comparestrliteral.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ bbtools.spec ++++++ --- /var/tmp/diff_new_pack.Qn8522/_old 2007-04-18 21:26:56.000000000 +0200 +++ /var/tmp/diff_new_pack.Qn8522/_new 2007-04-18 21:26:56.000000000 +0200 @@ -1,7 +1,7 @@ # -# spec file for package bbtools (Version 2006.12.14) +# spec file for package bbtools (Version 2007.4.18) # -# Copyright (c) 2006 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany. # This file and all modifications and additions to the pristine # package are under the same license as the package itself. # @@ -16,7 +16,7 @@ Group: System/GUI/Other Autoreqprov: on Requires: blackbox -Version: 2006.12.14 +Version: 2007.4.18 Release: 1 Summary: Tools for the Blackbox Window Manager URL: http://bbtools.sourceforge.net/ @@ -34,6 +34,7 @@ Patch: bbppp-0.2.4-stringstuff.diff Patch1: bbsload-0.2.8-gcc41.patch Patch2: bbacpi-0.1.5-gcc41.patch +Patch3: bbkeys-0.9.0-comparestrliteral.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build %define list bbfreq bbacpi bbweather bbdate bbkeys bbmail bbpager bbppp bbsload bbtime @@ -94,6 +95,7 @@ %patch %patch1 %patch2 +%patch3 %build for i in %{list}; do @@ -144,7 +146,9 @@ /usr/share/bbtools /usr/share/bbkeys -%changelog -n bbtools +%changelog +* Mon Apr 16 2007 - pcerny@suse.cz +- fixed comparision with string literal [#229783] * Thu Dec 14 2006 - ro@suse.de - move from usr/X11R6 to usr * Fri May 26 2006 - schwab@suse.de ++++++ bbkeys-0.9.0-comparestrliteral.patch ++++++ --- bbkeys-0.9.0/src/KeyClient.cpp +++ bbkeys-0.9.0/src/KeyClient.cpp @@ -306,7 +306,7 @@ bool found=false; string mod = results[j]; - for (int i = 0; modifiers[i].str != ""; ++i) { + for (int i = 0; modifiers[i].mask != 0; ++i) { if ( strcasecmp(modifiers[i].str, mod.c_str()) == 0 ) { _mask |= modifiers[i].mask; found = true; ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org