GNU bug report logs - #31901
Incorrect make-network-process + nowait state handling for non-existing unix sockets in emacs-26.1

Previous Next

Package: emacs;

Reported by: Mike Kazantsev <mk.fraggod <at> gmail.com>

Date: Tue, 19 Jun 2018 13:40:02 UTC

Severity: normal

Tags: confirmed, fixed

Fixed in version 26.2

Done: Noam Postavsky <npostavs <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


Message #52 received at 31901 <at> debbugs.gnu.org (full text, mbox):

From: Mike Kazantsev <mk.fraggod <at> gmail.com>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: Lars Ingebrigtsen <larsi <at> gnus.org>, npostavs <at> gmail.com,
 31901 <at> debbugs.gnu.org
Subject: Re: 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
On Sun, 22 Jul 2018 21:42:07 +0500
Mike Kazantsev <mk.fraggod <at> gmail.com> 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)
> 
>   => #<process unix-socket-test>  
>   [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




This bug report was last modified 6 years and 289 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.