Open schmonz opened 5 years ago
OpenBSD seems not to have res_close() in the system resolver. Here's some autoconfery to detect it and only call it if present. (FWIW, OpenBSD ports checks #ifdef __OpenBSD__ and skips the call.)
res_close()
#ifdef __OpenBSD__
OpenBSD seems not to have
res_close()
in the system resolver. Here's some autoconfery to detect it and only call it if present. (FWIW, OpenBSD ports checks#ifdef __OpenBSD__
and skips the call.)