+2011-06-30 Andreas Schwab <schwab@redhat.com>
+
+ * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
+ is always restored.
+
2011-06-29 Ulrich Drepper <drepper@gmail.com>
* nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
tmpbuf = malloc (tmpbuflen);
if (tmpbuf == NULL)
{
+ _res.options |= old_res_options & RES_USE_INET6;
result = -EAI_MEMORY;
goto free_and_return;
}
2 * tmpbuflen);
if (newp == NULL)
{
+ _res.options |= old_res_options & RES_USE_INET6;
result = -EAI_MEMORY;
goto free_and_return;
}
canonbuf = malloc (max_fqdn_len);
if (canonbuf == NULL)
{
+ _res.options
+ |= old_res_options & RES_USE_INET6;
result = -EAI_MEMORY;
goto free_and_return;
}