Skip to content

Commit

Permalink
third_party: Update resolv_wrapper to version 1.1.7
Browse files Browse the repository at this point in the history
This fixes some Samba tests which redirect stderr to stdout and then get
more messages than expected.

Signed-off-by: Andreas Schneider <[email protected]>
Reviewed-by: Guenther Deschner <[email protected]>

Autobuild-User(master): Andreas Schneider <[email protected]>
Autobuild-Date(master): Wed Aug 26 09:59:28 UTC 2020 on sn-devel-184
  • Loading branch information
cryptomilk committed Aug 26, 2020
1 parent 09fba1f commit fbe5853
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion buildtools/wafsamba/samba_third_party.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ def CHECK_NSS_WRAPPER(conf):

@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
Expand Down
4 changes: 2 additions & 2 deletions third_party/resolv_wrapper/resolv_wrapper.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -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;
Expand Down
2 changes: 1 addition & 1 deletion third_party/resolv_wrapper/wscript
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

import os

VERSION="1.1.6"
VERSION="1.1.7"

def configure(conf):
if conf.CHECK_RESOLV_WRAPPER():
Expand Down

0 comments on commit fbe5853

Please sign in to comment.