main/musl: fix incompatible behaviour of res_query(3)
The historical, but not clearly documented behaviour of res_query
is to return -1
and set h_errno
for failures like NXDOMAIN.
Also see the thread on the musl mailing list.
The historical, but not clearly documented behaviour of res_query
is to return -1
and set h_errno
for failures like NXDOMAIN.
Also see the thread on the musl mailing list.