[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#31901: Incorrect make-network-process + nowait state handling for no

From: Mike Kazantsev
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

On Sun, 22 Jul 2018 21:42:07 +0500
Mike Kazantsev <address@hidden> 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

reply via email to

[Prev in Thread] Current Thread [Next in Thread]