GNU bug report logs -
#31901
Incorrect make-network-process + nowait state handling for non-existing unix sockets in emacs-26.1
Previous Next
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
View this message in rfc822 format
Mike Kazantsev <mk.fraggod <at> gmail.com> writes:
> 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.
I believe the behaviour changed with the introduction of the bug (by the
way, Emacs releases are XX.y where y > 1, so there was never a 26.0
release).
So the situation is not ideal, but I do think that it's acceptable as a
compromise. Shall we backport and close the bug?
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.