You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by rb...@locus.apache.org on 2000/07/05 22:52:45 UTC
cvs commit: apache-2.0/src/lib/apr/lib apr_pools.c
rbb 00/07/05 13:52:41
Modified: src/lib/apr/include apr_pools.h
src/lib/apr/lib apr_pools.c
Log:
Move some private information for pools from a public header file to the
C file. Just a good idea to keep private information private. :-)
Revision Changes Path
1.22 +0 -10 apache-2.0/src/lib/apr/include/apr_pools.h
Index: apr_pools.h
===================================================================
RCS file: /home/cvs/apache-2.0/src/lib/apr/include/apr_pools.h,v
retrieving revision 1.21
retrieving revision 1.22
diff -u -r1.21 -r1.22
--- apr_pools.h 2000/07/05 20:22:24 1.21
+++ apr_pools.h 2000/07/05 20:52:29 1.22
@@ -120,16 +120,6 @@
#define ap_fdopen(d,m) fdopen((d), (m))
#endif
-/* magic numbers --- min free bytes to consider a free ap_pool_t block useable,
- * and the min amount to allocate if we have to go to malloc() */
-
-#ifndef BLOCK_MINFREE
-#define BLOCK_MINFREE 4096
-#endif
-#ifndef BLOCK_MINALLOC
-#define BLOCK_MINALLOC 8192
-#endif
-
/*
* APR memory structure manipulators (pools, tables, and arrays).
*/
1.61 +10 -0 apache-2.0/src/lib/apr/lib/apr_pools.c
Index: apr_pools.c
===================================================================
RCS file: /home/cvs/apache-2.0/src/lib/apr/lib/apr_pools.c,v
retrieving revision 1.60
retrieving revision 1.61
diff -u -r1.60 -r1.61
--- apr_pools.c 2000/06/22 16:05:31 1.60
+++ apr_pools.c 2000/07/05 20:52:33 1.61
@@ -100,6 +100,16 @@
/* Details of the debugging options can now be found in the developer
* section of the documentaion. */
+
+/* magic numbers --- min free bytes to consider a free ap_pool_t block useable,
+ * and the min amount to allocate if we have to go to malloc() */
+
+#ifndef BLOCK_MINFREE
+#define BLOCK_MINFREE 4096
+#endif
+#ifndef BLOCK_MINALLOC
+#define BLOCK_MINALLOC 8192
+#endif
#ifdef POOL_DEBUG
/* first do some option checking... */