httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Randy Terbush <ra...@zyzzyva.com>
Subject http_config.c patch for NEXT
Date Tue, 12 Sep 1995 14:52:25 GMT

I have followed up the help request on Usenet with the following
patch.


*** http_config.c.orig	Tue Sep 12 09:30:23 1995
--- http_config.c	Tue Sep 12 09:32:33 1995
***************
*** 84,91 ****
--- 84,93 ----
  #include "http_conf_globals.h"	/* Sigh... */
  
  #ifdef BSD
+ #ifndef NEXT
  #include <sys/resource.h>
  #endif
+ #endif
  
  /****************************************************************
   *
***************
*** 627,632 ****
--- 629,635 ----
      server_rec *s = (server_rec *)pcalloc (p, sizeof (server_rec));
  
  #ifdef BSD
+ #ifndef NEXT
      struct rlimit limits;
  
      getrlimit ( RLIMIT_NOFILE, &limits );
***************
*** 635,640 ****
--- 638,644 ----
        if ( setrlimit ( RLIMIT_NOFILE, &limits ) < 0 )
  	fprintf (stderr, "Cannot exceed hard limit for open files");
      }
+ #endif
  #endif
  
      s->port = 0;

Mime
View raw message