This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH v2][BZ #15339] Avoid returning EAI_SYSTEM when there's a network error


On Tue, Apr 09, 2013 at 08:50:19PM +0400, Dmitry V. Levin wrote:
> > Siddhesh
> > 
> > 	[BZ #15339]
> > 	* nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
> > 	when no services were used.
> > 	* sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
> > 	Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
> 
> Looks good and passes all my test cases.  Thanks,
> 

Thanks for testing this.  I'd like it if one more maintainer could
review the patch and rationale behind my changes.  The resolver code
is convoluted (in an unbearably horrible way) enough that I may have
again broken something and not realized it.

Siddhesh


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]