cannot be set"). (Felipe)
- Fixed bug #49517 (cURL's CURLOPT_FILE prevents file from being deleted after
fclose). (Ilia)
+- Fixed bug #49224 (Compile error due to old DNS functions on AIX systems).
+ (Scott)
- Fixed bug #48805 (IPv6 socket transport is not working). (Ilia)
- Fixed PECL bug #16842 (oci_error return false when NO_DATA_FOUND is raised).
(Chris Jones)
n = php_dns_search(handle, hostname, C_IN, type_to_fetch, answer.qb2, sizeof answer);
if (n < 0) {
- if (php_dns_errno(handle) == NO_DATA) {
- php_dns_free_handle(handle);
- continue;
- }
-
php_dns_free_handle(handle);
- zval_dtor(return_value);
- RETURN_FALSE;
+ continue;
}
cp = answer.qb2 + HFIXEDSZ;
((int)dns_search(res, dname, class, type, answer, anslen, (struct sockaddr *)&from, &fromsize))
#define php_dns_free_handle(res) \
dns_free(res)
-#define php_dns_errno(_res) \
- (NO_DATA)
#elif defined(HAVE_RES_NSEARCH)
#define php_dns_search(res, dname, class, type, answer, anslen) \
#define php_dns_free_handle(res) \
res_nclose(res); \
php_dns_free_res(*res)
-#define php_dns_errno(res) \
- (res->res_h_errno)
#elif defined(HAVE_RES_SEARCH)
#define php_dns_search(res, dname, class, type, answer, anslen) \
res_search(dname, class, type, answer, anslen)
#define php_dns_free_handle(res) /* noop */
-#define php_dns_errno(res) \
- (_res.res_h_errno)
#endif