svn: /pecl/apc/trunk/ apc_pool.c

From: Date: Sat, 07 Aug 2010 03:34:18 +0000
Subject: svn: /pecl/apc/trunk/ apc_pool.c
Groups: php.pecl.cvs 
Request: Send a blank email to pecl-cvs+get-14550@lists.php.net to get a copy of this message
rasmus Sat, 07 Aug 2010 03:34:18 +0000 Revision: http://svn.php.net/viewvc?view=revision&revision=301964 Log: This is only a valid assert in POOL_DEBUG mode Changed paths: U pecl/apc/trunk/apc_pool.c Modified: pecl/apc/trunk/apc_pool.c =================================================================== --- pecl/apc/trunk/apc_pool.c 2010-08-07 00:52:05 UTC (rev 301963) +++ pecl/apc/trunk/apc_pool.c 2010-08-07 03:34:18 UTC (rev 301964) @@ -452,7 +452,9 @@ /* put all ye sanity checks here */ assert(sizeof(decaff) > REDZONE_SIZE(ALIGNWORD(sizeof(char)))); assert(sizeof(pool_block) == ALIGNWORD(sizeof(pool_block))); +#if APC_POOL_DEBUG assert((APC_POOL_SIZE_MASK & (APC_POOL_SIZEINFO | APC_POOL_REDZONES)) == 0); +#endif } /* }}} */

« previous php.pecl.cvs (#14550) next »