[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#53814: process-status returns invalid/undocumented status file-error
From: |
emacsq |
Subject: |
bug#53814: 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.