httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sameer <sam...@c2.org>
Subject new patch for for_Apache_1.0.2 in incoming/
Date Wed, 31 Jan 1996 09:32:27 GMT
	There was a tiny bug in setrlimit_define_for_sunos, and it's a
bit late to veto, so I've patched it and put it in /httpd/incoming as
82.rlimit_warning_patch. Could it be put in for_Apache_1.0.2 ? Thanks.
(I'm sure my numbering is off, so renumber as appropriate.)

From: sameer@c2.org (Sameer Parekh)
Subject: fix rlimit warning in SunOS
Affects: conf.h
Problem: the 67.setrlimit_define_for_sunos adds the SUNOS4 #ifdef
	 *before* it includes sys/resource.h -- it should do the #ifdef
	 after it includes sys/resource.h.

*** 1.6	1996/01/31 09:24:45
--- conf.h	1996/01/31 09:10:56
***************
*** 325,335 ****
  #endif
  
  #if HAVE_RESOURCE
- #include <sys/resource.h>
  #ifdef SUNOS4
  int getrlimit( int, struct rlimit *);
  int setrlimit( int, struct rlimit *);
  #endif
  #endif
  
  #ifndef LOGNAME_MAX
--- 325,335 ----
  #endif
  
  #if HAVE_RESOURCE
  #ifdef SUNOS4
  int getrlimit( int, struct rlimit *);
  int setrlimit( int, struct rlimit *);
  #endif
+ #include <sys/resource.h>
  #endif
  
  #ifndef LOGNAME_MAX


-- 
Sameer Parekh					Voice:   510-601-9777x3
Community ConneXion, Inc.			FAX:     510-601-9734
The Internet Privacy Provider			Dialin:  510-658-6376
http://www.c2.org/ (or login as "guest")		sameer@c2.org

Mime
View raw message