You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by ji...@hyperreal.org on 1998/07/13 14:35:54 UTC
cvs commit: apache-1.3/src/include ap_config.h
jim 98/07/13 05:35:54
Modified: src PORTING
src/include ap_config.h
Log:
Remove some dead code and add notes that if
the sys/resource.h file exists, we assume that the rlimit() funcs
do as well
Revision Changes Path
1.32 +3 -5 apache-1.3/src/PORTING
Index: PORTING
===================================================================
RCS file: /export/home/cvs/apache-1.3/src/PORTING,v
retrieving revision 1.31
retrieving revision 1.32
diff -u -r1.31 -r1.32
--- PORTING 1998/07/13 12:31:04 1.31
+++ PORTING 1998/07/13 12:35:51 1.32
@@ -183,9 +183,6 @@
HAVE_GMTOFF:
Define if the OS's tm struct has the tm_gmtoff element
- HAVE_RESOURCE:
- Define if the OS supports the getrlimit()/setrlimit() functions
-
HAVE_CRYPT_H:
Defined if the OS has the <crypt.h> header file. This is set
automatically during the Configure process and stored in the
@@ -199,8 +196,9 @@
HAVE_SYS_RESOURCE_H:
Defined if the OS has and supports the getrlimit/setrlimit
family. Apache uses this to determine if RLIMIT_CPU|VMEM|DATA|RLIMIT
- is found and used. This is set automatically during the Configure
- process and stored in the src/include/ap_config_auto.h header
+ is found and used. This also assumes that the getrlimit()/setrlimit()
+ functions are available as well. This is set automatically during the
+ Configure process and stored in the src/include/ap_config_auto.h header
file.
--
1.226 +0 -4 apache-1.3/src/include/ap_config.h
Index: ap_config.h
===================================================================
RCS file: /export/home/cvs/apache-1.3/src/include/ap_config.h,v
retrieving revision 1.225
retrieving revision 1.226
diff -u -r1.225 -r1.226
--- ap_config.h 1998/07/13 11:32:33 1.225
+++ ap_config.h 1998/07/13 12:35:53 1.226
@@ -216,7 +216,6 @@
#define HAVE_SHMGET
#define USE_SHMGET_SCOREBOARD
#undef HAVE_GMTOFF
-#define HAVE_RESOURCE
#define USE_FCNTL_SERIALIZED_ACCEPT
/* feeling brave? want to try using POSIX mutexes? */
/* #define HAVE_MMAP */
@@ -510,7 +509,6 @@
#define NEED_STRCASECMP
#define NEED_STRNCASECMP
#define bzero(a,b) memset(a,0,b)
-#define HAVE_RESOURCE 1
#define HAVE_MMAP 1
#define USE_MMAP_SCOREBOARD
#define USE_MMAP_FILES
@@ -630,7 +628,6 @@
#elif defined(LYNXOS)
#undef HAVE_GMTOFF
-#define HAVE_RESOURCE 1
#undef USE_MMAP_SCOREBOARD
#undef USE_SHMGET_SCOREBOARD
#undef USE_FCNTL_SERIALIZED_ACCEPT
@@ -651,7 +648,6 @@
#undef HAVE_GMTOFF
#define NO_KILLPG
#undef NO_SETSID
-#define HAVE_RESOURCE 1
#define bzero(a,b) memset(a,0,b)
#define USE_FCNTL_SERIALIZED_ACCEPT
#define HAVE_MMAP 1