This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH][BZ #14719] Return EAI_SYSTEM from getaddrinfo if we runout of fds
- From: Siddhesh Poyarekar <siddhesh at redhat dot com>
- To: Andreas Schwab <schwab at linux-m68k dot org>
- Cc: libc-alpha at sourceware dot org
- Date: Tue, 23 Oct 2012 18:02:10 +0530
- Subject: Re: [PATCH][BZ #14719] Return EAI_SYSTEM from getaddrinfo if we runout of fds
- References: <20121023171835.09f1b085@spoyarek><m2a9vd1iqr.fsf@igel.home>
On Tue, 23 Oct 2012 14:21:48 +0200, Andreas wrote:
>
> Wouldn't NSS_STATUS_TRYAGAIN make more sense for E[MN]FILE?
>
E[MN]FILE is usually a result of a file descriptor leak, so I didn't
think it would qualify as a transient error. TRYAGAIN seems to me an
equivalent of EAGAIN, which encourages the caller to try again. I
don't think we want to do that here.
Siddhesh