From: Cliff Woolley Date: Wed, 27 Jun 2001 18:51:23 +0000 (+0000) Subject: More of s/ap_table_t/apr_table_t/g; X-Git-Tag: 2.0.19~33 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=09e715dbfa49f7eef48488a691356499c0a0f593;p=thirdparty%2Fapache%2Fhttpd.git More of s/ap_table_t/apr_table_t/g; Also s/ap_status_t/apr_status_t/; git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@89435 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/docs/manual/developer/debugging.html b/docs/manual/developer/debugging.html index 4cc3b02e7da..5643de71d4d 100644 --- a/docs/manual/developer/debugging.html +++ b/docs/manual/developer/debugging.html @@ -47,16 +47,16 @@ the modes available and gives instructions on activating them.

POOL_DEBUG

This is intended to detect cases where the wrong pool is used when assigning data to an object in another pool.

-

In particular, it causes the table_{set,add,merge}n routines to check that their arguments are safe for the ap_table_t they're being placed in. It currently only works with the unix multiprocess model, but could be extended to others.

+

In particular, it causes the table_{set,add,merge}n routines to check that their arguments are safe for the apr_table_t they're being placed in. It currently only works with the unix multiprocess model, but could be extended to others.

Table Debugging

MAKE_TABLE_PROFILE

Provide diagnostic information about make_table() calls which are possibly too small.

This requires a recent gcc which supports __builtin_return_address(). The error_log output will be a message such as:

-
table_push: ap_table_t created by 0x804d874 hit limit of 10
+
table_push: apr_table_t created by 0x804d874 hit limit of 10

Use "l *0x804d874" to find the source that corresponds to. It - indicates that a ap_table_t allocated by a call at that address has possibly too small an initial ap_table_t size guess.

+ indicates that a apr_table_t allocated by a call at that address has possibly too small an initial apr_table_t size guess.

Allocation Statistics

ALLOC_STATS

diff --git a/docs/manual/developer/modules.html b/docs/manual/developer/modules.html index 7d6c27c3d9b..d2d898f88ff 100644 --- a/docs/manual/developer/modules.html +++ b/docs/manual/developer/modules.html @@ -26,7 +26,7 @@ This is a first attempt at writing the lessons I learned when trying to convert

Cleanup Routines

-These now need to be of type ap_status_t and return a value of that type. Normally the return value will be APR_SUCCESS unless there is some need to signal an error in the cleanup. Be aware that even though you signal an error not all code yet checks and acts upon the error. +These now need to be of type apr_status_t and return a value of that type. Normally the return value will be APR_SUCCESS unless there is some need to signal an error in the cleanup. Be aware that even though you signal an error not all code yet checks and acts upon the error.

Initialisation Routines

diff --git a/docs/manual/developer/modules.html.en b/docs/manual/developer/modules.html.en index 7d6c27c3d9b..d2d898f88ff 100644 --- a/docs/manual/developer/modules.html.en +++ b/docs/manual/developer/modules.html.en @@ -26,7 +26,7 @@ This is a first attempt at writing the lessons I learned when trying to convert

Cleanup Routines

-These now need to be of type ap_status_t and return a value of that type. Normally the return value will be APR_SUCCESS unless there is some need to signal an error in the cleanup. Be aware that even though you signal an error not all code yet checks and acts upon the error. +These now need to be of type apr_status_t and return a value of that type. Normally the return value will be APR_SUCCESS unless there is some need to signal an error in the cleanup. Be aware that even though you signal an error not all code yet checks and acts upon the error.

Initialisation Routines