Hello community, here is the log from the commit of package net-tools for openSUSE:Factory checked in at Sat Aug 8 00:22:00 CEST 2009. -------- --- net-tools/net-tools.changes 2009-07-07 20:52:38.000000000 +0200 +++ net-tools/net-tools.changes 2009-08-06 16:19:49.000000000 +0200 @@ -1,0 +2,5 @@ +Thu Aug 6 16:17:40 CEST 2009 - ms@suse.de + +- fixed missing fclose to fopen (bnc #528577) + +------------------------------------------------------------------- calling whatdependson for head-i586 New: ---- net-tools-1.60-fclose.diff ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ net-tools.spec ++++++ --- /var/tmp/diff_new_pack.W3CYwf/_old 2009-08-08 00:20:28.000000000 +0200 +++ /var/tmp/diff_new_pack.W3CYwf/_new 2009-08-08 00:20:28.000000000 +0200 @@ -28,7 +28,7 @@ Obsoletes: traceroute net_tool AutoReqProv: on Version: 1.60 -Release: 729 +Release: 730 Summary: Important Programs for Networking BuildRoot: %{_tmppath}/%{name}-%{version}-build Source: net-tools-%{version}.tar.bz2 @@ -71,6 +71,7 @@ Patch36: net-tools-1.60-printval-conversion.patch Patch37: traceroute-glibc210.diff #Patch38: net-tools-1.60-obsolete.diff +Patch39: net-tools-1.60-fclose.diff %description This package contains essential programs for network administration and @@ -127,6 +128,7 @@ %patch35 -p1 %patch36 -p1 #%patch38 -p1 +%patch39 -p1 %build make config ++++++ net-tools-1.60-fclose.diff ++++++ --- net-tools-1.60/iptunnel.c 2009-08-06 16:15:00.000000000 +0200 +++ net-tools-1.60/iptunnel.c 2009-08-06 16:15:51.000000000 +0200 @@ -485,6 +485,7 @@ if ((ptr = strchr(buf, ':')) == NULL || (*ptr++ = 0, sscanf(buf, "%s", name) != 1)) { fprintf(stderr, _("Wrong format of /proc/net/dev. Sorry.\n")); + fclose (fp); return -1; } if (sscanf(ptr, "%ld%ld%ld%ld%ld%ld%ld%*d%ld%ld%ld%ld%ld%ld%ld", @@ -521,6 +522,7 @@ tx_packets, tx_bytes, tx_errs, tx_colls, tx_carrier, tx_drops); } } + fclose (fp); return 0; } ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... -- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org