From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#21337: 25.0.50; inotify error message Date: Fri, 28 Aug 2015 16:30:16 +0300 Message-ID: <834mjj4k2f.fsf@gnu.org> References: <87k2skyjf2.fsf@gmail.com> <83d1ychefg.fsf@gnu.org> <87oahw8xmv.fsf@gmail.com> <83a8tghcgr.fsf@gnu.org> <87twrobpet.fsf@gmail.com> <836144hagi.fsf@gnu.org> <87io84pmec.fsf@gmail.com> <83si78fpi5.fsf@gnu.org> <87twrm2db4.fsf@gmail.com> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1440768690 12517 80.91.229.3 (28 Aug 2015 13:31:30 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 28 Aug 2015 13:31:30 +0000 (UTC) Cc: 21337@debbugs.gnu.org To: Robert Pluim Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Aug 28 15:31:19 2015 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1ZVJkT-0004HE-Kq for geb-bug-gnu-emacs@m.gmane.org; Fri, 28 Aug 2015 15:31:17 +0200 Original-Received: from localhost ([::1]:47924 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZVJkS-00074F-ST for geb-bug-gnu-emacs@m.gmane.org; Fri, 28 Aug 2015 09:31:16 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:42570) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZVJkP-00073v-4H for bug-gnu-emacs@gnu.org; Fri, 28 Aug 2015 09:31:13 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZVJkJ-0006qY-UU for bug-gnu-emacs@gnu.org; Fri, 28 Aug 2015 09:31:13 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:48698) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZVJkJ-0006qU-Rh for bug-gnu-emacs@gnu.org; Fri, 28 Aug 2015 09:31:07 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1ZVJkJ-0000xw-9Q for bug-gnu-emacs@gnu.org; Fri, 28 Aug 2015 09:31:07 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 28 Aug 2015 13:31:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 21337 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 21337-submit@debbugs.gnu.org id=B21337.14407686233667 (code B ref 21337); Fri, 28 Aug 2015 13:31:02 +0000 Original-Received: (at 21337) by debbugs.gnu.org; 28 Aug 2015 13:30:23 +0000 Original-Received: from localhost ([127.0.0.1]:40908 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZVJjZ-0000x3-Gx for submit@debbugs.gnu.org; Fri, 28 Aug 2015 09:30:22 -0400 Original-Received: from mtaout24.012.net.il ([80.179.55.180]:41588) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZVJjT-0000wr-UF for 21337@debbugs.gnu.org; Fri, 28 Aug 2015 09:30:16 -0400 Original-Received: from conversion-daemon.mtaout24.012.net.il by mtaout24.012.net.il (HyperSendmail v2007.08) id <0NTS00M00NQUH600@mtaout24.012.net.il> for 21337@debbugs.gnu.org; Fri, 28 Aug 2015 16:22:21 +0300 (IDT) Original-Received: from HOME-C4E4A596F7 ([84.94.185.246]) by mtaout24.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0NTS00B96NT8T9A0@mtaout24.012.net.il>; Fri, 28 Aug 2015 16:22:21 +0300 (IDT) In-reply-to: <87twrm2db4.fsf@gmail.com> X-012-Sender: halo1@inter.net.il X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:105918 Archived-At: > From: Robert Pluim > Cc: 21337@debbugs.gnu.org > 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.