Hello community, here is the log from the commit of package quagga checked in at Tue Dec 19 17:17:48 CET 2006. -------- --- quagga/quagga.changes 2006-08-21 21:34:48.000000000 +0200 +++ /mounts/work_src_done/STABLE/quagga/quagga.changes 2006-12-19 14:49:02.000000000 +0100 @@ -1,0 +2,5 @@ +Tue Dec 19 14:48:51 CET 2006 - prusnak@suse.cz + +- fixed "comparison with string literal" [#228420] + +------------------------------------------------------------------- New: ---- quagga-0.98.6-strcmp.diff ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ quagga.spec ++++++ --- /var/tmp/diff_new_pack.8Tb5d4/_old 2006-12-19 17:17:40.000000000 +0100 +++ /var/tmp/diff_new_pack.8Tb5d4/_new 2006-12-19 17:17:40.000000000 +0100 @@ -13,13 +13,13 @@ Name: quagga BuildRequires: net-snmp-devel pam-devel readline-devel Version: 0.98.6 -Release: 2 +Release: 28 PreReq: %insserv_prereq %fillup_prereq /usr/sbin/useradd /usr/sbin/groupadd PreReq: %install_info_prereq Provides: zebra Obsoletes: zebra Autoreqprov: on -License: LGPL +License: GNU Library General Public License v. 2.0 and 2.1 (LGPL) Group: Productivity/Networking/Routing URL: http://www.quagga.net Summary: Free Routing Software (for BGP, OSPF and RIP, for example) @@ -28,6 +28,7 @@ Source2: quagga.pam Patch2: %{name}-snmp.diff Patch4: %{name}-%{version}-strict-aliasing.diff +Patch5: %{name}-%{version}-strcmp.diff BuildRoot: %{_tmppath}/%{name}-%{version}-build %description @@ -77,6 +78,7 @@ %setup -a 1 %patch2 %patch4 +%patch5 %build if ! ls /proc/net/{dev,route,snmp} >/dev/null; then @@ -173,6 +175,8 @@ %{_includedir}/%{name}/ospfd/*.h %changelog -n quagga +* Tue Dec 19 2006 - prusnak@suse.cz +- fixed "comparison with string literal" [#228420] * Mon Aug 21 2006 - kukuk@suse.de - Fix PAM config to work on lib64 archs. * Thu Aug 03 2006 - mmarek@suse.cz ++++++ quagga-0.98.6-strcmp.diff ++++++ --- ospf6d/ospf6_lsa.c +++ ospf6d/ospf6_lsa.c @@ -717,7 +717,7 @@ unsigned int i; unsigned int size = strlen (h->name); - if (h->name == "Unknown" && + if (strcmp(h->name,"Unknown")==0 && h->type != OSPF6_LSTYPE_UNKNOWN) { snprintf (buf, sizeof (buf), "%#04hx", h->type); ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org