From c0d65d17856d7131a62014afe6bd8cf6da58414f Mon Sep 17 00:00:00 2001
From: Per Hedbor <ph@opera.com>
Date: Sat, 20 May 2000 04:20:37 +0200
Subject: [PATCH] Start with a larger number for the number of FDs. Also, test
 to a larger number. Since there is no longer any static array, this does not
 use any extra memory

Rev: src/configure.in:1.374
---
 src/configure.in | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/src/configure.in b/src/configure.in
index 062331ff3d..713b810461 100644
--- a/src/configure.in
+++ b/src/configure.in
@@ -1,4 +1,4 @@
-AC_REVISION("$Id: configure.in,v 1.373 2000/05/19 16:58:03 mast Exp $")
+AC_REVISION("$Id: configure.in,v 1.374 2000/05/20 02:20:37 per Exp $")
 AC_INIT(interpret.c)
 AC_CONFIG_HEADER(machine.h)
 
@@ -2914,7 +2914,7 @@ AC_TRY_RUN([
 #endif
 
 #ifndef MAX_FD
-#define MAX_FD 256
+#define MAX_FD 65536
 #endif
 
 int main()
@@ -2935,10 +2935,10 @@ int main()
   }else{
     if(lim.rlim_max == RLIM_INFINITY)
     {
-      limit=131072; /* Noone needs more :-) */
+      limit = 1024 * 1024 * 2; /* Noone needs more :-) */
     }else{
       limit=lim.rlim_max;
-      if(limit > 131072) limit=131072;
+      if(limit > 1024 * 1024 * 2) limit= 1024 * 1024 * 2;
     }
   }
 #else
-- 
GitLab