From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Lars Ingebrigtsen Newsgroups: gmane.emacs.bugs Subject: bug#31901: Incorrect make-network-process + nowait state handling for non-existing unix sockets in emacs-26.1 Date: Sun, 22 Jul 2018 13:40:51 +0200 Message-ID: References: <20180619104351.41e4e3d1@malediction> <87efgnm17h.fsf@gmail.com> <831scgn3ig.fsf@gnu.org> <83in5ib53q.fsf@gnu.org> <83muum1d3m.fsf@gnu.org> <83effy14p6.fsf@gnu.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1532259546 27364 195.159.176.226 (22 Jul 2018 11:39:06 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sun, 22 Jul 2018 11:39:06 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) Cc: mk.fraggod@gmail.com, npostavs@gmail.com, 31901@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Jul 22 13:39:02 2018 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fhChY-0006vD-PW for geb-bug-gnu-emacs@m.gmane.org; Sun, 22 Jul 2018 13:39:00 +0200 Original-Received: from localhost ([::1]:55610 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fhCjd-0004Yb-M4 for geb-bug-gnu-emacs@m.gmane.org; Sun, 22 Jul 2018 07:41:09 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:33297) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fhCjX-0004YU-Gj for bug-gnu-emacs@gnu.org; Sun, 22 Jul 2018 07:41:05 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fhCjW-0003et-Fh for bug-gnu-emacs@gnu.org; Sun, 22 Jul 2018 07:41:03 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:46590) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fhCjW-0003en-Br for bug-gnu-emacs@gnu.org; Sun, 22 Jul 2018 07:41:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1fhCjW-0004u4-4l for bug-gnu-emacs@gnu.org; Sun, 22 Jul 2018 07:41:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 22 Jul 2018 11:41:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 31901 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: confirmed Original-Received: via spool by 31901-submit@debbugs.gnu.org id=B31901.153225965718831 (code B ref 31901); Sun, 22 Jul 2018 11:41:02 +0000 Original-Received: (at 31901) by debbugs.gnu.org; 22 Jul 2018 11:40:57 +0000 Original-Received: from localhost ([127.0.0.1]:51608 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fhCjR-0004tf-2F for submit@debbugs.gnu.org; Sun, 22 Jul 2018 07:40:57 -0400 Original-Received: from hermes.netfonds.no ([80.91.224.195]:57829) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fhCjP-0004tW-FD for 31901@debbugs.gnu.org; Sun, 22 Jul 2018 07:40:55 -0400 Original-Received: from cm-84.212.221.165.getinternet.no ([84.212.221.165] helo=stories) by hermes.netfonds.no with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1fhCjL-00065s-Uq; Sun, 22 Jul 2018 13:40:54 +0200 In-Reply-To: <83effy14p6.fsf@gnu.org> (Eli Zaretskii's message of "Fri, 20 Jul 2018 15:17:57 +0300") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] 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" Xref: news.gmane.org gmane.emacs.bugs:148805 Archived-At: OK, I've now fixed the async error case (on master), I think: (process-live-p socket) nil (process-status socket) file-missing I've fixed this on master, because I'm not 100% sure that my fix is completely correct. Should we perhaps also call a sentinel in the async error case? But we should, in any case, perhaps cherry-pick this fix into Emacs 26.2. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no