From ea38808b7dc1b2e760f18f2cc3ae07deaf15ba1a Mon Sep 17 00:00:00 2001 From: Mark Andrews Date: Mon, 19 Apr 2004 23:09:51 +0000 Subject: [PATCH] 1614. [port] win32: silence resource limit messages. [RT# 11101] --- CHANGES | 2 +- bin/named/config.c | 14 ++++++++------ 2 files changed, 9 insertions(+), 7 deletions(-) diff --git a/CHANGES b/CHANGES index c3af43005e..fdaf167bbd 100644 --- a/CHANGES +++ b/CHANGES @@ -8,7 +8,7 @@ 1615. [port] Define ISC_SOCKADDR_LEN_T based on _BSD_SOCKLEN_T_ if it is defined. -1614. [placeholder] rt11101 +1614. [port] win32: silence resource limit messages. [RT# 11101] 1613. [placeholder] rt11119 diff --git a/bin/named/config.c b/bin/named/config.c index 8c5eaeb902..c761833734 100644 --- a/bin/named/config.c +++ b/bin/named/config.c @@ -15,7 +15,7 @@ * PERFORMANCE OF THIS SOFTWARE. */ -/* $Id: config.c,v 1.47 2004/03/16 05:52:14 marka Exp $ */ +/* $Id: config.c,v 1.48 2004/04/19 23:09:51 marka Exp $ */ #include @@ -44,14 +44,17 @@ static char defaultconf[] = "\ options {\n\ -# blackhole {none;};\n\ - coresize default;\n\ +# blackhole {none;};\n" +#ifndef WIN32 +" coresize default;\n\ datasize default;\n\ - deallocate-on-exit true;\n\ + files default;\n\ + stacksize default;\n" +#endif +" deallocate-on-exit true;\n\ # directory \n\ dump-file \"named_dump.db\";\n\ fake-iquery no;\n\ - files default;\n\ has-old-clients false;\n\ heartbeat-interval 60;\n\ host-statistics no;\n\ @@ -77,7 +80,6 @@ options {\n\ serial-queries 20;\n\ serial-query-rate 20;\n\ server-id none;\n\ - stacksize default;\n\ statistics-file \"named.stats\";\n\ statistics-interval 60;\n\ tcp-clients 100;\n\