- update to new upstream version

This commit is contained in:
Martin Nagy 2008-02-25 10:21:33 +00:00
parent 17f845038d
commit 403b7c0bdb
5 changed files with 20 additions and 16 deletions

View File

@ -1,3 +1,3 @@
iputils-s20070202.tar.bz2 iputils-s20071127.tar.bz2
rdisc.initd rdisc.initd
ifenslave.tar.gz ifenslave.tar.gz

View File

@ -4,8 +4,8 @@
timeout = atoi(optarg); timeout = atoi(optarg);
break; break;
case 'I': case 'I':
- device = optarg; - device = optarg;
+ device = strdup(optarg); + device = strdup(optarg);
break; break;
case 'f': case 'f':
quit_on_reply=1; quit_on_reply=1;

View File

@ -1,14 +1,14 @@
--- iputils-s20070202/rdisc.c.open-max 2007-08-07 11:34:03.000000000 +0200 diff -up iputils-s20071127/rdisc.c.open_max iputils-s20071127/rdisc.c
+++ iputils-s20070202/rdisc.c 2007-08-07 11:41:30.000000000 +0200 --- iputils-s20071127/rdisc.c.open_max 2008-02-25 11:15:37.000000000 +0100
@@ -240,14 +240,25 @@ +++ iputils-s20071127/rdisc.c 2008-02-25 11:17:30.000000000 +0100
@@ -240,14 +240,25 @@ void do_fork(void)
{ {
int t; int t;
pid_t pid; pid_t pid;
+ long open_max; + long open_max;
if (trace) if (trace)
return; return;
+ if ((open_max = sysconf(_SC_OPEN_MAX)) == -1) { + if ((open_max = sysconf(_SC_OPEN_MAX)) == -1) {
+ if (errno == 0) { + if (errno == 0) {
+ (void) fprintf(stderr, "OPEN_MAX is not supported\n"); + (void) fprintf(stderr, "OPEN_MAX is not supported\n");
@ -17,8 +17,9 @@
+ (void) fprintf(stderr, "sysconf() error\n"); + (void) fprintf(stderr, "sysconf() error\n");
+ } + }
+ exit(1); + exit(1);
+ } + }
+ +
if ((pid=fork()) != 0) if ((pid=fork()) != 0)
exit(0); exit(0);

View File

@ -1,7 +1,7 @@
Summary: Network monitoring tools including ping Summary: Network monitoring tools including ping
Name: iputils Name: iputils
Version: 20070202 Version: 20071127
Release: 9%{?dist} Release: 1%{?dist}
License: BSD License: BSD
URL: http://www.skbuff.net/iputils URL: http://www.skbuff.net/iputils
Group: System Environment/Daemons Group: System Environment/Daemons
@ -154,6 +154,9 @@ rm -rf ${RPM_BUILD_ROOT}
%{_sysconfdir}/rc.d/init.d/rdisc %{_sysconfdir}/rc.d/init.d/rdisc
%changelog %changelog
* Mon Feb 25 2008 Martin Nagy <mnagy@redhat.com> - 20071127-1
- update to new upstream version
* Mon Feb 18 2008 Martin Nagy <mnagy@redhat.com> - 20070202-9 * Mon Feb 18 2008 Martin Nagy <mnagy@redhat.com> - 20070202-9
- rebuild - rebuild

View File

@ -1,3 +1,3 @@
1d38fb3cfc2b71496e43cf646bfc1d6e iputils-s20070202.tar.bz2 12245e9927d60ff5cf4a99d265bcb7d3 iputils-s20071127.tar.bz2
b044213f027e70a2cc1aa882e21fba3b rdisc.initd b044213f027e70a2cc1aa882e21fba3b rdisc.initd
9071449369f52f374faf40811b1669ed ifenslave.tar.gz 9071449369f52f374faf40811b1669ed ifenslave.tar.gz