/*
- * $Id: Debug.h,v 1.5 2003/07/08 23:01:46 robertc Exp $
+ * $Id: Debug.h,v 1.6 2003/07/16 05:27:17 robertc Exp $
*
* DEBUG: section 0 Debug Routines
* AUTHOR: Harvest Derived
#define SQUID_DEBUG
#include <iostream>
+#undef assert
#include <sstream>
+#if defined assert
+#undef assert
+#endif
+#if PURIFY
+#define assert(EX) ((void)0)
+#elif defined(NODEBUG)
+#define assert(EX) ((void)0)
+#elif STDC_HEADERS
+#define assert(EX) ((EX)?((void)0):xassert( # EX , __FILE__, __LINE__))
+#else
+#define assert(EX) ((EX)?((void)0):xassert("EX", __FILE__, __LINE__))
+#endif
class Debug
{
/*
- * $Id: acl.cc,v 1.308 2003/07/14 08:21:56 robertc Exp $
+ * $Id: acl.cc,v 1.309 2003/07/16 05:27:17 robertc Exp $
*
* DEBUG: section 28 Access Control
* AUTHOR: Duane Wessels
* by '!' for negation */
while ((t = strtok(NULL, w_space))) {
- acl_list *L (new ACLList);
+ acl_list *L = new ACLList;
if (*t == '!') {
L->negated (true);
#
# Makefile for the Squid Object Cache server
#
-# $Id: Makefile.am,v 1.15 2003/07/14 15:07:22 robertc Exp $
+# $Id: Makefile.am,v 1.16 2003/07/16 05:27:17 robertc Exp $
#
AUTOMAKE_OPTIONS = subdir-objects
## Sort by dependencies - test lowest layers first
TESTS = debug \
syntheticoperators \
+ VirtualDeleteOperator \
StackTest \
rfc1738 \
refcount\
rfc1738\
splay \
StackTest \
- syntheticoperators
+ syntheticoperators \
+ VirtualDeleteOperator
LDADD = -L$(top_builddir)/lib -lmiscutil
DEBUG_SOURCE = test_tools.cc
StackTest_SOURCES = StackTest.cc $(DEBUG_SOURCE)
syntheticoperators_SOURCES = syntheticoperators.cc $(DEBUG_SOURCE)
+VirtualDeleteOperator_SOURCES = VirtualDeleteOperator.cc $(DEBUG_SOURCE)
rfc1738_SOURCES = rfc1738.cc