Subject: bug#21337: 25.0.50; inotify error message

From: Eli Zaretskii <[email-masked]>
Date: Fri, 28 Aug 2015 16:30:16 +0300

> From: Robert Pluim <[email-masked]>
> Cc: [email-masked]
> Date: Wed, 26 Aug 2015 19:02:23 +0200
> 
> Step 5 should never happen, but because step 2 did not clear the
> Available fd_set, and the HAVE_GNUTLS code incremented nfds, we think
> there's data to be read.
> 
> The following patch, which zeros out Available when the GNUTLS code
> does its thing has fixed things for me. I've convinced myself it has
> no bad side-effects, but would appreciate a second opinion, especially
> since the option also exists to just zero out Available
> unconditionally when nfds==0.

Thanks for the investigation and the patch.  If no one objects in a
few days, I will commit your changes.