From 2f5baf12a411b29ac693f82b1ee8457b749d515c Mon Sep 17 00:00:00 2001 From: Mark Andrews Date: Wed, 15 Aug 2007 04:40:30 +0000 Subject: [PATCH] 2213. [func] 'host -m'now causes memory statistics and active memory to be printed at exit. [RT 17028] --- bin/dig/host.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/bin/dig/host.c b/bin/dig/host.c index aafd5c5059..2b12b91940 100644 --- a/bin/dig/host.c +++ b/bin/dig/host.c @@ -15,7 +15,7 @@ * PERFORMANCE OF THIS SOFTWARE. */ -/* $Id: host.c,v 1.114 2007/06/18 23:47:17 tbox Exp $ */ +/* $Id: host.c,v 1.115 2007/08/15 04:40:30 marka Exp $ */ /*! \file */ @@ -583,6 +583,7 @@ pre_parse_args(int argc, char **argv) { while ((c = isc_commandline_parse(argc, argv, optstring)) != -1) { switch (c) { case 'm': + memdebugging = ISC_TRUE; if (strcasecmp("trace", isc_commandline_argument) == 0) isc_mem_debugging |= ISC_MEM_DEBUGTRACE; else if (!strcasecmp("record",