third_party: Update resolv_wrapper to version 1.1.7
authorAndreas Schneider <asn@samba.org>
Tue, 25 Aug 2020 15:39:18 +0000 (17:39 +0200)
committerAndreas Schneider <asn@cryptomilk.org>
Wed, 26 Aug 2020 09:59:28 +0000 (09:59 +0000)
This fixes some Samba tests which redirect stderr to stdout and then get
more messages than expected.

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Guenther Deschner <gd@samba.org>
Autobuild-User(master): Andreas Schneider <asn@cryptomilk.org>
Autobuild-Date(master): Wed Aug 26 09:59:28 UTC 2020 on sn-devel-184

buildtools/wafsamba/samba_third_party.py
third_party/resolv_wrapper/resolv_wrapper.c
third_party/resolv_wrapper/wscript

index 318da4f4eff1ccfd1033c45d4b6535230c7982c6..bc2b21f2a55908f4abd85481faf48cfdc71efd1b 100644 (file)
@@ -34,7 +34,7 @@ Build.BuildContext.CHECK_NSS_WRAPPER = CHECK_NSS_WRAPPER
 
 @conf
 def CHECK_RESOLV_WRAPPER(conf):
-    return conf.CHECK_BUNDLED_SYSTEM_PKG('resolv_wrapper', minversion='1.1.6')
+    return conf.CHECK_BUNDLED_SYSTEM_PKG('resolv_wrapper', minversion='1.1.7')
 Build.BuildContext.CHECK_RESOLV_WRAPPER = CHECK_RESOLV_WRAPPER
 
 @conf
index 0d3f34ce5910e3d81dc960774355336ece3d78bd..b69a55a80e0c437e1ed2b2e7c5c6480a64d57bf6 100644 (file)
@@ -1844,7 +1844,7 @@ static int rwrap_parse_resolv_conf(struct __res_state *state,
 
        fp = fopen(resolv_conf, "r");
        if (fp == NULL) {
-               RWRAP_LOG(RWRAP_LOG_ERROR,
+               RWRAP_LOG(RWRAP_LOG_WARN,
                          "Opening %s failed: %s",
                          resolv_conf, strerror(errno));
                return -1;
@@ -1930,7 +1930,7 @@ static int rwrap_parse_resolv_conf(struct __res_state *state,
        fclose(fp);
 
        if (nserv == 0) {
-               RWRAP_LOG(RWRAP_LOG_ERROR,
+               RWRAP_LOG(RWRAP_LOG_WARN,
                          "No usable nameservers found in %s",
                          resolv_conf);
                errno = ESRCH;
index ea3df498a6e87a6b0951fefe39a9fcfb7c5d3809..a7f18389b0fb5504495ae82d96d559f10113de51 100644 (file)
@@ -2,7 +2,7 @@
 
 import os
 
-VERSION="1.1.6"
+VERSION="1.1.7"
 
 def configure(conf):
     if conf.CHECK_RESOLV_WRAPPER():