Return-Path: Delivered-To: apmail-apr-cvs-archive@apr.apache.org Received: (qmail 93026 invoked by uid 500); 25 Jan 2002 01:12:10 -0000 Mailing-List: contact cvs-help@apr.apache.org; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: Reply-To: dev@apr.apache.org Delivered-To: mailing list cvs@apr.apache.org Received: (qmail 93015 invoked from network); 25 Jan 2002 01:12:10 -0000 Date: 25 Jan 2002 01:12:09 -0000 Message-ID: <20020125011209.2182.qmail@icarus.apache.org> From: striker@apache.org To: apr-cvs@apache.org Subject: cvs commit: apr/include apr_pools.h X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N striker 02/01/24 17:12:09 Modified: include apr_pools.h Log: Remove evil spaces following #. Line wrap comments. Submitted by: Greg Stein Revision Changes Path 1.75 +33 -26 apr/include/apr_pools.h Index: apr_pools.h =================================================================== RCS file: /home/cvs/apr/include/apr_pools.h,v retrieving revision 1.74 retrieving revision 1.75 diff -u -r1.74 -r1.75 --- apr_pools.h 24 Jan 2002 23:52:41 -0000 1.74 +++ apr_pools.h 25 Jan 2002 01:12:09 -0000 1.75 @@ -91,31 +91,38 @@ * * | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 | * --------------------------------- - * | | | | | | | | x | General debug code enabled (good for --with-efence) + * | | | | | | | | x | General debug code enabled (usefull in + * combination with --with-efence). * - * | | | | | | | x | | Verbose output on stderr (report CREATE, CLEAR, DESTROY) + * | | | | | | | x | | Verbose output on stderr (report + * CREATE, CLEAR, DESTROY). * - * | | | | | | x | | | Lifetime checking. On each use of a pool, check its lifetime. - * If the pool is out of scope, abort(). In combination with - * the verbose flag above, it will output LIFE in such an event - * prior to aborting. - * - * | | | | | x | | | | Pool owner checking. On each use of a pool, check if the - * current thread is the pools owner. If not, abort(). In - * combination with the verbose flag above, it will output OWNER - * in such an event prior to aborting. Use the debug function - * apr_pool_set_owner() to switch a pools ownership. + * | | | | | | x | | | Lifetime checking. On each use of a + * pool, check its lifetime. If the pool + * is out of scope, abort(). + * In combination with the verbose flag + * above, it will output LIFE in such an + * event prior to aborting. + * + * | | | | | x | | | | Pool owner checking. On each use of a + * pool, check if the current thread is the + * pools owner. If not, abort(). In + * combination with the verbose flag above, + * it will output OWNER in such an event + * prior to aborting. Use the debug + * function apr_pool_set_owner() to switch + * a pools ownership. * * When no debug level was specified, assume general debug mode. * If level 0 was specified, debugging is switched off */ #if defined(APR_POOL_DEBUG) -# if (APR_POOL_DEBUG != 0) && (APR_POOL_DEBUG - 0 == 0) -# undef APR_POOL_DEBUG -# define APR_POOL_DEBUG 1 -# endif +#if (APR_POOL_DEBUG != 0) && (APR_POOL_DEBUG - 0 == 0) +#undef APR_POOL_DEBUG +#define APR_POOL_DEBUG 1 +#endif #else -# define APR_POOL_DEBUG 0 +#define APR_POOL_DEBUG 0 #endif #define APR_POOL_STRINGIZE(x) APR_POOL__STRINGIZE(x) @@ -582,15 +589,15 @@ /* @} */ #else -# ifdef apr_pool_join -# undef apr_pool_join -# endif -# define apr_pool_join(a,b) - -# ifdef apr_pool_lock -# undef apr_pool_lock -# endif -# define apr_pool_lock(pool, lock) +#ifdef apr_pool_join +#undef apr_pool_join +#endif +#define apr_pool_join(a,b) + +#ifdef apr_pool_lock +#undef apr_pool_lock +#endif +#define apr_pool_lock(pool, lock) #endif