summaryrefslogtreecommitdiff
path: root/ftp/llnlxftp/files/patch-local.c
diff options
context:
space:
mode:
Diffstat (limited to 'ftp/llnlxftp/files/patch-local.c')
-rw-r--r--ftp/llnlxftp/files/patch-local.c18
1 files changed, 0 insertions, 18 deletions
diff --git a/ftp/llnlxftp/files/patch-local.c b/ftp/llnlxftp/files/patch-local.c
deleted file mode 100644
index 896db7ca85c3..000000000000
--- a/ftp/llnlxftp/files/patch-local.c
+++ /dev/null
@@ -1,18 +0,0 @@
---- local.c.orig 1995-10-19 08:20:22.000000000 -0700
-+++ local.c 2012-03-10 11:24:10.000000000 -0800
-@@ -201,11 +201,15 @@
- #ifdef _SC_OPEN_MAX /* POSIX */
- if ((max_files = sysconf(_SC_OPEN_MAX)) == -1)
- fatal_error("Trouble in max_fds() - sysconf() failed");
-+ if (max_files > 1024)
-+ max_files=1024;
- #else
- #ifdef _NFILE /* Might be overkill */
- max_files = _NFILE;
- #else /* Assume BSD */
- max_files = getdtablesize();
-+ if ((max_files = getdtablesize()) > 1024)
-+ max_files=1024;
- #endif
- #endif
-