jim 96/07/27 16:00:09
Modified: src http_core.c Log: Work around systems without RLIMIT family Revision Changes Path 1.24 +2 -0 apache/src/http_core.c Index: http_core.c =================================================================== RCS file: /export/home/cvs/apache/src/http_core.c,v retrieving revision 1.23 retrieving revision 1.24 diff -C3 -r1.23 -r1.24 *** http_core.c 1996/07/27 16:21:17 1.23 --- http_core.c 1996/07/27 23:00:06 1.24 *************** *** 828,833 **** --- 828,834 ---- return NULL; } + #if defined(RLIMIT_CPU) || defined(RLIMIT_DATA) || defined(RLIMIT_VMEM) || defined(RLIMIT_NPROC) static void set_rlimit(cmd_parms *cmd, struct rlimit **plimit, char *arg, int type) { *************** *** 873,878 **** --- 874,880 ---- limit->rlim_max = max; } } + #endif static char *no_set_limit (cmd_parms *cmd, core_dir_config *conf, char *arg) {