History log of /PHP-8.1/ext/standard/tests/network/bug81618.phpt (Results 1 – 1 of 1)
Revision Date Author Comments
# 45f52285 14-Nov-2021 Matt

Fix bug #81618: Correct dns_get_record on FreeBSD

Modify dns_get_record to test for records result based on dns_errno to
accommodate modern FreeBSD, for which res_nsearch() does not upda

Fix bug #81618: Correct dns_get_record on FreeBSD

Modify dns_get_record to test for records result based on dns_errno to
accommodate modern FreeBSD, for which res_nsearch() does not update
h_errno directly. Add new php_dns_errno macro, and have it consult
statp->res_h_errno when OS has res_nsearch().

Closes GH-7655.

show more ...