Branch: Tag:

1995-08-23

1995-08-23 14:12:17 by Fredrik Hübinette (Hubbe) <hubbe@hubbe.net>

foo

Rev: bin/create_testsuite:1.2
Rev: doc/types/mapping:1.2
Rev: lib/simulate.lpc:1.3
Rev: lib/testsuite.lpc:1.2
Rev: src/array.c:1.3
Rev: src/call_out.c:1.3
Rev: src/configure.in:1.6
Rev: src/debug.c:1.2
Rev: src/debug.h:1.2
Rev: src/docode.c:1.3
Rev: src/dynamic_buffer.c:1.2
Rev: src/interpret.c:1.3
Rev: src/las.c:1.2
Rev: src/lpc_types.c:1.2
Rev: src/macros.h:1.3
Rev: src/main.c:1.5
Rev: src/mapping.c:1.3
Rev: src/modules/regexp/regexp.c:1.3
Rev: src/object.c:1.2
Rev: src/opcodes.c:1.5
Rev: src/port.c:1.7
Rev: src/types.h:1.5

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;
131:    }    }    - #if defined(HAVE_SETRLIMIT) && defined(RLIMIT_NOFILE) - #ifndef RLIM_INFINITY - #define RLIM_INFINITY 0x7fffffff + #if !defined(RLIMIT_NOFILE) && defined(RLIMIT_OFILE) + #define RLIMIT_NOFILE RLIMIT_OFILE   #endif -  +  + #if defined(HAVE_SETRLIMIT) && defined(RLIMIT_NOFILE)    {    struct rlimit lim;    long tmp;
146:    setrlimit(RLIMIT_NOFILE, &lim);    }    } - #else - #if defined (HAVE_SETDTABLESIZE) -  setdtablesize (MAX_OPEN_FILEDESCRIPTORS); +    #endif - #endif +        current_time = get_current_time();