From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Mike Kazantsev 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 21:55:40 +0500 Message-ID: <20180722215540.63fc8782@malediction> References: <20180619104351.41e4e3d1@malediction> <87efgnm17h.fsf@gmail.com> <831scgn3ig.fsf@gnu.org> <83in5ib53q.fsf@gnu.org> <83muum1d3m.fsf@gnu.org> <83effy14p6.fsf@gnu.org> <20180722195458.2e40086f@malediction> <83pnzfw9g0.fsf@gnu.org> <20180722214207.1ccaff3d@malediction> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Trace: blaine.gmane.org 1532278446 22762 195.159.176.226 (22 Jul 2018 16:54:06 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sun, 22 Jul 2018 16:54:06 +0000 (UTC) Cc: Lars Ingebrigtsen , 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 18:54:01 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 1fhHcP-0005mG-8E for geb-bug-gnu-emacs@m.gmane.org; Sun, 22 Jul 2018 18:54:01 +0200 Original-Received: from localhost ([::1]:56753 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fhHeW-0002jw-1a for geb-bug-gnu-emacs@m.gmane.org; Sun, 22 Jul 2018 12:56:12 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:45276) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fhHeP-0002jo-Cp for bug-gnu-emacs@gnu.org; Sun, 22 Jul 2018 12:56:06 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fhHeM-0007Og-5I for bug-gnu-emacs@gnu.org; Sun, 22 Jul 2018 12:56:05 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:47642) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fhHeL-0007O8-Vn for bug-gnu-emacs@gnu.org; Sun, 22 Jul 2018 12:56:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1fhHeL-0008SV-Ky for bug-gnu-emacs@gnu.org; Sun, 22 Jul 2018 12:56:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Mike Kazantsev Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 22 Jul 2018 16:56:01 +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.153227855032494 (code B ref 31901); Sun, 22 Jul 2018 16:56:01 +0000 Original-Received: (at 31901) by debbugs.gnu.org; 22 Jul 2018 16:55:50 +0000 Original-Received: from localhost ([127.0.0.1]:52660 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fhHeA-0008S2-8W for submit@debbugs.gnu.org; Sun, 22 Jul 2018 12:55:50 -0400 Original-Received: from mail-lj1-f195.google.com ([209.85.208.195]:34837) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fhHe8-0008Rp-SM for 31901@debbugs.gnu.org; Sun, 22 Jul 2018 12:55:49 -0400 Original-Received: by mail-lj1-f195.google.com with SMTP id p10-v6so14918714ljg.2 for <31901@debbugs.gnu.org>; Sun, 22 Jul 2018 09:55:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=141mnbMrvKXMJaQA1e5FAbTO0VR7nuj6xMm6VjZu4HU=; b=P/UL71GvKsDER7qzVUUpKExS0I37Fi1tmyJBAVwSf56487qs/p92OtZnliyucSe1PM SomdJsOqDxYWpeOJ27WqkWTiAh1J11N7h123/zHscGGAOWJJx/K/1ZJvHAT0eNk9VseA jCyfoIBe0h7j+L5vhVuQmM8/bA5RYJHgz0F9OwR++c6fGRYMr5vARkSYalqHwHqvASxm 7s3VG6C6DxsRi8mx31OhvPvJNVfu5cxy6VkjXzDhTxiROqBdxVyq96yAQTuwEgNot/SN aOPiIB7/9KqUoTx3Thp24/OuRwk7ByMMlMgnW9vL9ZyRxM3eAbmFA9IM0iZgVruadUrL /7ew== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=141mnbMrvKXMJaQA1e5FAbTO0VR7nuj6xMm6VjZu4HU=; b=WVTw18G3HgfBxYxsBDu3+d0+ucW2o4gcaQ02JpwiVTIglY7fjMsEJYNlKUMT9SIUTJ w9yRVGw/GAHOr6llP4QtqOUBUwx4pBozhzJY/whAt7d3fjdCjcx9FO/V5nHaIM0WLHGn ObuB6xxr4Vc8M8CE9cMQFysjzpPMugEBbrTZjhegldRSk+bDrWK9+fk+dgbcqQaQtCfV nnQOX4+fhFsSFDwdaVuRlvl6OvVODrObpg+yq1euMS+J/nXVnxAMocmK6odnvD0fEieM VbOXrLhk75X2350obrutL0j7IFD6OUt1jzgyw6xB2vF6twRVEs7a60J0SAm3sLG5ogvu DCnA== X-Gm-Message-State: AOUpUlFRLBJTaj1o/kq2tUrcu9Dd772ApeLKAK1sQj28Uf4UzKFdnPff i0Ku7MdBZ5tjeyZfPEkrGPo= X-Google-Smtp-Source: AAOMgpcdMmWz+R64db0xyD5gSUrCWT7wBRm3IehU2e2e+4IGasHopWsZWK5yi44WWzc3nSA9x+UzjA== X-Received: by 2002:a2e:6d0a:: with SMTP id i10-v6mr7010444ljc.145.1532278543018; Sun, 22 Jul 2018 09:55:43 -0700 (PDT) Original-Received: from malediction ([46.48.96.28]) by smtp.gmail.com with ESMTPSA id o19-v6sm1094714lfk.65.2018.07.22.09.55.41 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sun, 22 Jul 2018 09:55:42 -0700 (PDT) In-Reply-To: <20180722214207.1ccaff3d@malediction> X-Mailer: Claws Mail 3.16.0 (GTK+ 2.24.32; x86_64-pc-linux-gnu) 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:148825 Archived-At: On Sun, 22 Jul 2018 21:42:07 +0500 Mike Kazantsev wrote: > == How it works in current emacs-git [8f3bca3ad51]: > > (make-network-process > ... > :family 'local > :service "/tmp/does-not-exist.sock" > :nowait t > :sentinel #'unix-socket-test-func) > > => # > [sentinel never called] > > (process-live-p socket) => nil > (process-status socket) => 'file-missing > > Note that this is: > > - Not consistent with what emacs did before this bug. After sending previous mail, realized that maybe it is consistent with emacs 26.0 or similar version before the bug which I've never tested, where change was made to behave exactly like that, but then this bug changed it again. If so, this change will be consistent with that, and I'm definitely wrong about this behavior being only introduced here. Which would explain my misunderstanding of how this fix works, and if that's the case, please disregard that previous message, sorry. -- Mike Kazantsev // fraggod.net