From: Amos Jeffries Date: Sun, 26 Oct 2008 05:21:31 +0000 (+1300) Subject: More build fixes. X-Git-Tag: SQUID_3_2_0_1~1376 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=99ff36c7fc7903bbb75b7109cb3f9f2b154c48f5;p=thirdparty%2Fsquid.git More build fixes. This one in DNS. Also updated the testbed to reveal 'No such file or directory' errors. That reveals two more build issues in DiskIO when something is disabled. --- diff --git a/src/dns.cc b/src/dns.cc index ae432a6597..59d0b9c7ee 100644 --- a/src/dns.cc +++ b/src/dns.cc @@ -58,7 +58,7 @@ dnsStats(StoreEntry * sentry) static void dnsRegisterWithCacheManager(void) { - CacheManager::GetInstance-> + CacheManager::GetInstance()-> registerAction("dns", "Dnsserver Statistics", dnsStats, 0, 1); } diff --git a/test-builds.sh b/test-builds.sh index 1e02054fb0..62da1dcad4 100755 --- a/test-builds.sh +++ b/test-builds.sh @@ -25,6 +25,6 @@ for f in `ls -1 ./test-suite/buildtests/layer*.opts` ; do arg=`echo "${f}" | sed s/\\.opts//` echo "TESTING: ${arg}" ../test-suite/buildtest.sh ".${arg}" || - ( grep -E "^ERROR|\ error:\ " buildtest_*.log && exit 1 ) + ( grep -E "^ERROR|\ error:\ |No\ such" buildtest_*.log && exit 1 ) cd .. done