]> sourceware.org Git - glibc.git/commit - ChangeLog
Set EAI_SYSTEM only when h_errno is NETDB_INTERNAL
authorSiddhesh Poyarekar <siddhesh@redhat.com>
Tue, 21 May 2013 16:24:41 +0000 (21:54 +0530)
committerSiddhesh Poyarekar <siddhesh@redhat.com>
Tue, 21 May 2013 16:24:41 +0000 (21:54 +0530)
commit3d04f5db20c8f0d1ba3881b5f5373586a18cf188
tree9f49a788186914f0061f340e938ad21d293f7762
parentd5dd6189d506068ed11c8bfa1e1e9bffde04decd
Set EAI_SYSTEM only when h_errno is NETDB_INTERNAL

Fixes BZ #15339.

NSS_STATUS_UNAVAIL may mean that a necessary input resource is not
available.  This could occur in a number of cases including when the
network is down, system runs out of file descriptors, etc.  The
correct differentiator in such a case is the h_errno, which gives the
nature of failure.  In case of failures other than a simple 'not
found', we set h_errno as NETDB_INTERNAL and let errno be the
identifier for the exact error.
ChangeLog
NEWS
nss/getXXbyYY_r.c
sysdeps/posix/getaddrinfo.c
This page took 0.039633 seconds and 5 git commands to generate.