Branch: Tag:

2000-05-20

2000-05-20 02:20:37 by Per Hedbor <ph@opera.com>

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

1: - 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:   #endif      #ifndef MAX_FD - #define MAX_FD 256 + #define MAX_FD 65536   #endif      int main()
2935:    }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