Hello community, here is the log from the commit of package iprutils checked in at Thu Dec 7 20:27:57 CET 2006. -------- --- iprutils/iprutils.changes 2006-11-15 11:33:44.000000000 +0100 +++ /mounts/work_src_done/STABLE/iprutils/iprutils.changes 2006-12-07 14:19:11.000000000 +0100 @@ -1,0 +2,5 @@ +Thu Dec 7 14:18:46 CET 2006 - olh@suse.de + +- fix comparison with string literal warning (226402) + +------------------------------------------------------------------- New: ---- iprutils.stringliteral.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ iprutils.spec ++++++ --- /var/tmp/diff_new_pack.M0W4Ob/_old 2006-12-07 20:27:21.000000000 +0100 +++ /var/tmp/diff_new_pack.M0W4Ob/_new 2006-12-07 20:27:21.000000000 +0100 @@ -14,7 +14,7 @@ BuildRequires: pciutils-devel sysfsutils Summary: Utilities for the IBM Power Linux RAID Adapters Version: 2.2.3 -Release: 1 +Release: 5 License: Other uncritical OpenSource License, Other License(s), see package URL: http://sourceforge.net/projects/iprdd/ Group: Hardware/Other @@ -24,6 +24,7 @@ Source0: iprutils-%{version}-src.tgz Patch0: iprconfig.usr-sbin.patch Patch1: iprutils.install-man.patch +Patch2: iprutils.stringliteral.patch %description Provides a suite of utilities to manage and configure SCSI devices @@ -39,6 +40,7 @@ %setup -q -n iprutils %patch0 -p1 %patch1 -p1 +%patch2 -p1 %build make %{?jobs:-j%jobs} CFLAGS="$RPM_OPT_FLAGS \$(IPR_DEFINES)" @@ -75,6 +77,8 @@ %attr(755,root,root) /etc/init.d/* %changelog -n iprutils +* Thu Dec 07 2006 - olh@suse.de +- fix comparison with string literal warning (226402) * Wed Nov 15 2006 - olh@suse.de - update to version 2.2.3 (218770 - LTC28528 - FATE301562) Fix SAS disk hotplug dual path bug. ++++++ iprutils.stringliteral.patch ++++++ --- iprconfig.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) Index: iprutils/iprconfig.c =================================================================== --- iprutils.orig/iprconfig.c +++ iprutils/iprconfig.c @@ -744,12 +744,12 @@ static struct screen_output *screen_driv for (i = 0; i < screen->num_opts; i++) { temp = &(screen->options[i]); - if ((temp->key == "\n") || + if ((temp->key[0] == '\n') || ((num_fields > 0)?(strcasecmp(input,temp->key) == 0):0)) { invalid = false; - if ((temp->key == "\n") && (num_fields > 0)) { + if ((temp->key[0] == '\n') && (num_fields > 0)) { /* store field data to existing i_con (which should already contain pointers) */ ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org