The patch is incorrect/incomplete.  You can't just comment out the
call that does the work.

> On May 3, 2019, at 1:30 AM, Rosen Penev <[email protected]> wrote:
> 
> uClibc-ng does not have res_send or res_nsend.
> ---
> src/dns/dns_lookup.c | 2 ++
> 1 file changed, 2 insertions(+)
> 
> diff --git a/src/dns/dns_lookup.c b/src/dns/dns_lookup.c
> index 1ea98b3..59657f1 100644
> --- a/src/dns/dns_lookup.c
> +++ b/src/dns/dns_lookup.c
> @@ -344,11 +344,13 @@ static int dns_res_query(const char *name, int class, 
> int type,
>       if (msg_verbose)
>           msg_info("res_mkquery() failed");
>       return (len);
> +#ifndef __UCLIBC__
>     } else if ((len = res_send(msg_buf, len, answer, anslen)) < 0) {
>       SET_H_ERRNO(TRY_AGAIN);
>       if (msg_verbose)
>           msg_info("res_send() failed");
>       return (len);
> +#endif
>     } else {
>       switch (reply_header->rcode) {
>       case NXDOMAIN:
> -- 
> 2.17.1
> 

-- 
        Viktor.

Reply via email to