Branch: Tag:

1995-08-10

1995-08-10 11:41:27 by David Hedbor <david@hedbor.org>

lite bugg fix

Rev: src/configure.in:1.2
Rev: src/main.c:1.2

23: Inside #if defined(HAVE_SYS_RESOURCE_H)
  #endif   #ifdef HAVE_SYS_RESOURCE_H   #include <sys/resource.h> + #if defined (RLIMIT_OFILE) && !defined (RLIMIT_NOFILE) + # define RLIMIT_NOFILE RLIMIT_OFILE + #endif /* HAVE_RESOURCE && RLIMIT_OFILE && !RLIMIT_NOFILE */   #endif    -  + /* Some systems use RLIMIT_NOFILE, others use RLIMIT_OFILE */ +    char *master_file;      int d_flag=0;
126:    }    }    - #ifdef HAVE_SETRLIMIT + #if defined(HAVE_SETRLIMIT) && defined(RLIMIT_NOFILE)    {    struct rlimit lim;    int tmp;
139: Inside #if defined(HAVE_SETRLIMIT)
   setrlimit(RLIMIT_NOFILE, &lim);    }    } + #else + #if defined (HAVE_SETDTABLESIZE) +  setdtablesize (MAX_OPEN_FILEDESCRIPTORS);   #endif -  + #endif       current_time = get_current_time();