[PATCH][BZ #14719] Return EAI_SYSTEM from getaddrinfo if we run out of fds

Siddhesh Poyarekar siddhesh@redhat.com
Tue Oct 23 12:33:00 GMT 2012


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



More information about the Libc-alpha mailing list