]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
More build fixes.
authorAmos Jeffries <squid3@treenet.co.nz>
Sun, 26 Oct 2008 05:21:31 +0000 (18:21 +1300)
committerAmos Jeffries <squid3@treenet.co.nz>
Sun, 26 Oct 2008 05:21:31 +0000 (18:21 +1300)
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.

src/dns.cc
test-builds.sh

index ae432a6597d3bffff74bc3885747c73ed7732c4b..59d0b9c7ee0ad0fd437099cc012ac544e0dd18d4 100644 (file)
@@ -58,7 +58,7 @@ dnsStats(StoreEntry * sentry)
 static void
 dnsRegisterWithCacheManager(void)
 {
-    CacheManager::GetInstance->
+    CacheManager::GetInstance()->
     registerAction("dns", "Dnsserver Statistics", dnsStats, 0, 1);
 }
 
index 1e02054fb066ababa2eb7a17652372673ee8c137..62da1dcad4c5aa142e0ea1bd4d344136bb686156 100755 (executable)
@@ -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