httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Aram W. Mirzadeh" <...@qosina.com>
Subject Re: http_config.c patch for NEXT
Date Tue, 12 Sep 1995 16:02:13 GMT

The following patch was entered as:
06_bsd_next_cleanup.0.8.13.patch

I'll put it in patches directory.


At 09:52 AM 9/12/95 -0500, you wrote:
>
>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;
>
>
--
Aram W. Mirzadeh, MIS Manager, Qosina Corporation
http://www.qosina.com/~awm/, awm@qosina.com
Apache httpd server team http://www.apache.org



Mime
View raw message