GNU bug report logs - #53814
process-status returns invalid/undocumented status file-error for network process

Previous Next

Package: emacs;

Reported by: emacsq <laszlomail <at> protonmail.com>

Date: Sun, 6 Feb 2022 07:27:02 UTC

Severity: normal

Fixed in version 29.1

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


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

From: emacsq <laszlomail <at> protonmail.com>
To: "Bug reports for GNU Emacs,
 the Swiss army knife of text editors" <bug-gnu-emacs <at> gnu.org>
Subject: Re: process-status returns invalid/undocumented status file-error for
 network process
Date: Sun, 06 Feb 2022 12:32:22 +0000
> So I guess it's a too many open connections error, but instead of
> saying that, it sets the status to the undocumented file-error.

I found a relevant commit from 2018 by Lars, and its commit says:

src/process.c (connect_network_socket): When an async :family
'local client fails (with a file error, for instance), mark the
process as failed.

https://github.com/emacs-mirror/emacs/commit/92ba34d89ac4f5b5bbb818e1c39a3cc12a405790#diff-18c8f6291e2c6a6f88223e509421492528e624157da1ba063401a6ffc36e63b6L3595

Does failed here mean the Qfailed status? Then why is status set to
to the car of file error returned by get_file_errno_data  which
returns file-error or some other file related bug?

Somebody who was part of this discussion then may be able to shed
some light on it.





This bug report was last modified 3 years and 108 days ago.

Previous Next


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