commit net-tools for openSUSE:Factory
Hello community, here is the log from the commit of package net-tools for openSUSE:Factory checked in at Tue May 19 02:38:15 CEST 2009. -------- --- net-tools/net-tools.changes 2009-03-25 16:29:32.000000000 +0100 +++ net-tools/net-tools.changes 2009-05-12 21:20:34.000000000 +0200 @@ -1,0 +2,7 @@ +Thu May 7 10:05:09 CEST 2009 - ms@suse.de + +- fixed data type of third argument in printval function. + Also make sure the printf call in this function uses the + correct format sequence (bnc #501113) + +------------------------------------------------------------------- calling whatdependson for head-i586 New: ---- net-tools-1.60-printval-conversion.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ net-tools.spec ++++++ --- /var/tmp/diff_new_pack.I11914/_old 2009-05-19 02:35:09.000000000 +0200 +++ /var/tmp/diff_new_pack.I11914/_new 2009-05-19 02:35:09.000000000 +0200 @@ -28,7 +28,7 @@ Obsoletes: traceroute net_tool AutoReqProv: on Version: 1.60 -Release: 726 +Release: 727 Summary: Important Programs for Networking BuildRoot: %{_tmppath}/%{name}-%{version}-build Source: net-tools-%{version}.tar.bz2 @@ -68,6 +68,7 @@ Patch33: net-tools-1.60-ifconfig-SIOCSIFNETMASK.diff Patch34: net-tools-1.60-interface_socket.diff Patch35: net-tools-1.60-interface_mtu.diff +Patch36: net-tools-1.60-printval-conversion.patch %description This package contains essential programs for network administration and @@ -121,6 +122,7 @@ %patch33 -p1 %patch34 -p1 %patch35 -p1 +%patch36 -p1 %build make config @@ -174,6 +176,10 @@ %lang(pt_BR) %doc %_mandir/pt_BR/man*/* %changelog +* Thu May 07 2009 ms@suse.de +- fixed data type of third argument in printval function. + Also make sure the printf call in this function uses the + correct format sequence (bnc #501113) * Wed Mar 25 2009 ms@suse.de - increased field length for display of MTU value (bnc #486014) * Thu Nov 20 2008 ms@suse.de @@ -300,7 +306,7 @@ - added non-en manpage directories to filelist * Mon May 19 2003 mmj@suse.de - Use a better and more tested nstrcmp.c [#26950] -* Tue May 13 2003 ro@suse.de +* Wed May 14 2003 ro@suse.de - fix build with 2.5 kernel includes * Tue May 13 2003 mmj@suse.de - Package man-pages in several languages @@ -368,7 +374,7 @@ - Update to 1.53, remove ypdomainname and nisdomainname * Sat Jun 26 1999 kukuk@suse.de - update from jurix to 1.52 -* Tue Mar 09 1999 ro@suse.de +* Wed Mar 10 1999 ro@suse.de - update to 1.50 - included slattach and its manpage in filelist * Wed Oct 28 1998 ro@suse.de ++++++ net-tools-1.60-printval-conversion.patch ++++++ --- net-tools-1.60/statistics.c 2009-05-12 19:11:39.000000000 +0000 +++ net-tools-1.60/statistics.c 2009-05-12 19:12:26.000000000 +0000 @@ -233,7 +233,7 @@ return strcmp(((struct entry *) a)->title, ((struct entry *) b)->title); } -void printval(struct tabtab *tab, char *title, int val) +void printval(struct tabtab *tab, char *title, signed long val) { struct entry *ent = NULL, key; int type; @@ -244,7 +244,7 @@ ent = bsearch(&key, tab->tab, tab->size / sizeof(struct entry), sizeof(struct entry), cmpentries); if (!ent) { /* try our best */ - printf("%*s%s: %d\n", states[state].indent, "", title, val); + printf("%*s%s: %lu\n", states[state].indent, "", title, val); return; } type = ent->type; ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... -- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org
participants (1)
-
root@Hilbert.suse.de