CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors
iputils: removed not needed patch.
authorVictor Martinez <pitillo@ono.com>
Mon, 15 Feb 2010 12:37:05 +0000 (12:37 +0000)
committerVictor Martinez <pitillo@ono.com>
Mon, 15 Feb 2010 12:37:05 +0000 (12:37 +0000)
iputils/iputils-s20071127-open_max.patch [deleted file]

diff --git a/iputils/iputils-s20071127-open_max.patch b/iputils/iputils-s20071127-open_max.patch
deleted file mode 100644 (file)
index 28e953d..0000000
+++ /dev/null
@@ -1,32 +0,0 @@
-http://www.redhat.com/archives/fedora-extras-commits/2007-August/msg01642.html
-
-diff -Nru iputils-s20071127.orig/rdisc.c iputils-s20071127/rdisc.c
---- iputils-s20071127.orig/rdisc.c     2008-09-17 19:45:30.000000000 +0200
-+++ iputils-s20071127/rdisc.c  2008-09-17 19:52:03.000000000 +0200
-@@ -240,14 +240,25 @@
- {
-       int t;
-       pid_t pid;
-+      long open_max;
-       if (trace)
-               return;
-+      if ((open_max = sysconf(_SC_OPEN_MAX)) == -1) {
-+              if (errno == 0) {
-+                      (void) fprintf(stderr, "OPEN_MAX is not supported\n");
-+              }
-+              else {
-+                      (void) fprintf(stderr, "sysconf() error\n");
-+              }
-+              exit(1);
-+      }
-+
-       if ((pid=fork()) != 0)
-               exit(0);
--      for (t = 0; t < OPEN_MAX; t++)
-+      for (t = 0; t < open_max; t++)
-               if (t != s)
-                       close(t);