Hello community, here is the log from the commit of package lsvpd checked in at Mon Dec 11 16:22:21 CET 2006. -------- --- lsvpd/lsvpd.changes 2006-11-19 20:38:48.000000000 +0100 +++ /mounts/work_src_done/STABLE/lsvpd/lsvpd.changes 2006-12-11 13:44:04.000000000 +0100 @@ -1,0 +2,5 @@ +Mon Dec 11 13:43:36 CET 2006 - olh@suse.de + +- fix incorrect string comparsion in device_scsi.c (#227459) + +------------------------------------------------------------------- New: ---- lsvpd.string-literal.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ lsvpd.spec ++++++ --- /var/tmp/diff_new_pack.gamyAC/_old 2006-12-11 16:18:48.000000000 +0100 +++ /var/tmp/diff_new_pack.gamyAC/_new 2006-12-11 16:18:48.000000000 +0100 @@ -15,7 +15,7 @@ URL: http://sourceforge.net/projects/linux-diag/ Summary: VPD Hardware Inventory Utilities for Linux Version: 0.16.0 -Release: 21 +Release: 23 License: GNU General Public License (GPL) Group: System/Monitoring BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -26,6 +26,7 @@ Patch2: lsvpd.runlevel-prereq.patch Patch3: lsvpd.types.patch Patch4: lsvpd.PROGS2.patch +Patch5: lsvpd.string-literal.patch %description The lsvpd package contains both the lsvpd, lscfg and lsmcode commands. @@ -49,6 +50,7 @@ %patch2 -p1 %patch3 -p1 %patch4 -p1 +%patch5 -p1 %build make CFLAGS="$RPM_OPT_FLAGS -fno-unit-at-a-time -I../lib" @@ -98,6 +100,8 @@ %{_mandir}/*/* %changelog -n lsvpd +* Mon Dec 11 2006 - olh@suse.de +- fix incorrect string comparsion in device_scsi.c (#227459) * Sun Nov 19 2006 - olh@suse.de - install scripts correctly, fix incorrect quoting in Makefile (#222542) * Sun Oct 08 2006 - olh@suse.de ++++++ lsvpd.string-literal.patch ++++++ device_scsi.c:385: warning: comparison with string literal --- src/device_scsi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Index: lsvpd-0.16.0/src/device_scsi.c =================================================================== --- lsvpd-0.16.0.orig/src/device_scsi.c +++ lsvpd-0.16.0/src/device_scsi.c @@ -382,7 +382,7 @@ init(void) s.supertype = DEVICE_TYPE_SCSI; i = 0; while (NULL != (x = device_scsi_ds_prefixes[i].type)) { - if (DEVICE_TYPE_SCSI != x) { + if (strcmp(DEVICE_TYPE_SCSI,x)) { s.type = x; node_type_register(&s); } ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org