Hello community, here is the log from the commit of package bbtools checked in at Tue Apr 24 23:32:04 CEST 2007. -------- --- bbtools/bbtools.changes 2007-04-23 15:47:34.000000000 +0200 +++ /mounts/work_src_done/STABLE/bbtools/bbtools.changes 2007-04-24 19:06:19.000000000 +0200 @@ -1,0 +2,6 @@ +Tue Apr 24 19:05:27 CEST 2007 - pcerny@suse.cz + +- fixed another comparision with string literal + (found in bbkeys-0.9.0 with gcc-4.2) + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ bbtools.spec ++++++ --- /var/tmp/diff_new_pack.M18617/_old 2007-04-24 23:30:54.000000000 +0200 +++ /var/tmp/diff_new_pack.M18617/_new 2007-04-24 23:30:54.000000000 +0200 @@ -1,5 +1,5 @@ # -# spec file for package bbtools (Version 2007.4.23) +# spec file for package bbtools (Version 2007.4.24) # # Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany. # This file and all modifications and additions to the pristine @@ -16,7 +16,7 @@ Group: System/GUI/Other Autoreqprov: on Requires: blackbox -Version: 2007.4.23 +Version: 2007.4.24 Release: 1 Summary: Tools for the Blackbox Window Manager URL: http://bbtools.sourceforge.net/ @@ -147,6 +147,9 @@ /usr/share/bbkeys %changelog +* Tue Apr 24 2007 - pcerny@suse.cz +- fixed another comparision with string literal + (found in bbkeys-0.9.0 with gcc-4.2) * Mon Apr 23 2007 - hvogel@suse.de - Update to next bugfix relase * bbmail to 0.9.1 ++++++ bbkeys-0.9.0-comparestrliteral.patch ++++++ --- /var/tmp/diff_new_pack.M18617/_old 2007-04-24 23:30:55.000000000 +0200 +++ /var/tmp/diff_new_pack.M18617/_new 2007-04-24 23:30:55.000000000 +0200 @@ -5,7 +5,18 @@ string mod = results[j]; - for (int i = 0; modifiers[i].str != ""; ++i) { -+ for (int i = 0; modifiers[i].mask != 0; ++i) { ++ for (int i = 0; modifiers[i].str[0] != '\0'; ++i) { if ( strcasecmp(modifiers[i].str, mod.c_str()) == 0 ) { _mask |= modifiers[i].mask; found = true; +--- bbkeys-0.9.0/src/actions.cc ++++ bbkeys-0.9.0/src/actions.cc +@@ -112,7 +112,7 @@ + { "", Action::noaction } + }; + +- for (int i = 0; actions[i].str != ""; ++i) { ++ for (int i = 0; actions[i].str[0] != '\0' ; ++i) { + if ( actions[i].act == _type) { + return actions[i].str; + } ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org