[SSSD] [PATCH] Properly handle EINTR in sss_client

Simo Sorce ssorce at redhat.com
Thu Dec 17 13:48:56 UTC 2009


On Thu, 2009-12-17 at 08:44 -0500, Stephen Gallagher wrote:
> On 12/17/2009 08:22 AM, Stephen Gallagher wrote:
> > We were treating all errno responses from poll() as a fatal error.
> We
> > need to handle EINTR and retry the poll().
> > 
> > This solves the long-standing (but only recently opened)
> > https://fedorahosted.org/sssd/ticket/335
> > 
> 
> 
> Simo reminded me of the existence of the do...while() syntax. This
> makes
> the code rather more clear.
> 
> New patch attached.

ACK,
great catch.

Simo.

-- 
Simo Sorce * Red Hat, Inc * New York




More information about the sssd-devel mailing list