From b51426395b2c9542989d74678906901b4db0a4ad Mon Sep 17 00:00:00 2001 From: Rob Austein Date: Fri, 14 Sep 2012 03:26:41 +0000 Subject: Disable AVL_PARANOIA code. svn path=/branches/tk274/; revision=4714 --- rcynic/rcynic.c | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) (limited to 'rcynic') diff --git a/rcynic/rcynic.c b/rcynic/rcynic.c index 5eece8b2..ccf91d6b 100644 --- a/rcynic/rcynic.c +++ b/rcynic/rcynic.c @@ -30,9 +30,6 @@ /* $Id$ */ -#warning Clean up AVL_PARANOIA junk as soon as we know new code works properly -#define AVL_PARANOIA 1 - /** * @mainpage * @@ -85,6 +82,16 @@ #include "defstack.h" #include "defasn1.h" +/* + * Whether to run the old slow STACK-based validation_status lookup in + * parallel to the new faster AVL-based mechanism. The code + * controlled by this option will probably go away soon, it's just here + * in case we run into trouble while testing the new code. + */ +#ifndef AVL_PARANOIA +#define AVL_PARANOIA 0 +#endif + #if !defined(FILENAME_MAX) && defined(PATH_MAX) && PATH_MAX > 1024 #define FILENAME_MAX PATH_MAX #elif !defined(FILENAME_MAX) -- cgit v1.2.3