#
# Makefile for the Squid Object Cache server
#
-# $Id: Makefile.in,v 1.163 1998/11/12 06:27:51 wessels Exp $
+# $Id: Makefile.in,v 1.164 1998/11/13 06:00:29 wessels Exp $
#
# Uncomment and customize the following to suit your needs:
#
$(CACHEMGR_EXE): cachemgr.o
$(CC) -o $@ $(LDFLAGS) cachemgr.o $(CLIENT_LIBS)
-$(PINGER_EXE): pinger.o
+$(PINGER_EXE): pinger.o debug.o globals.o
$(CC) -o $@ $(LDFLAGS) pinger.o debug.o globals.o $(PINGER_LIBS)
$(UNLINKD_EXE): unlinkd-daemon.o
/*
- * $Id: debug.cc,v 1.71 1998/08/20 22:29:55 wessels Exp $
+ * $Id: debug.cc,v 1.72 1998/11/13 06:00:30 wessels Exp $
*
* DEBUG: section 0 Debug Routines
* AUTHOR: Harvest Derived
return buf;
}
+void
+xassert(const char *msg, const char *file, int line)
+{
+ debug(0, 0) ("assertion failed: %s:%d: \"%s\"\n", file, line, msg);
+ if (!shutting_down)
+ abort();
+}
+
/*
* Context-based Debugging
*
/*
- * $Id: protos.h,v 1.286 1998/11/12 23:07:37 wessels Exp $
+ * $Id: protos.h,v 1.287 1998/11/13 06:00:31 wessels Exp $
*
*
* SQUID Internet Object Cache http://squid.nlanr.net/Squid/
#else
extern void _db_print();
#endif
+extern void xassert(const char *, const char *, int);
/* packs, then prints an object using debug() */
extern void debugObj(int section, int level, const char *label, void *obj, ObjPackMethod pm);
extern const char *gb_to_str(const gb_t *);
extern void gb_flush(gb_t *); /* internal, do not use this */
extern int stringHasWhitespace(const char *);
-extern void xassert(const char *, const char *, int);
#if USE_HTCP
extern void htcpInit(void);
/*
- * $Id: tools.cc,v 1.171 1998/11/12 23:07:39 wessels Exp $
+ * $Id: tools.cc,v 1.172 1998/11/13 06:00:32 wessels Exp $
*
* DEBUG: section 21 Misc Functions
* AUTHOR: Harvest Derived
{
return (strcspn(s, w_space) != strlen(s));
}
-
-void
-xassert(const char *msg, const char *file, int line)
-{
- debug(0, 0) ("assertion failed: %s:%d: \"%s\"\n", file, line, msg);
- if (!shutting_down)
- abort();
-}