[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#51177: 29.0.50; stop-process on pipes
From: |
Helmut Eller |
Subject: |
bug#51177: 29.0.50; stop-process on pipes |
Date: |
Fri, 12 Nov 2021 13:58:49 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) |
On Fri, Nov 12 2021, Helmut Eller wrote:
> I do wonder why the part of the code with the comment "If process is
> still active, read any output that remains" is not executed for the
> deleting_process. It seems to me that this creates the possibility (with
> very low probability) that we forget to read the last chunk of output in
> the usual case where filter ≠ t.
I see now why. The Fdelete_process uses (p->infd >= 0) to decide if it
should call status_notify. I guess this is pretty much a show stopper
as this will result in an endless recursion when delete-process is
called from a sentinel without closing the file descriptors first.
Helmut
- bug#51177: 29.0.50; stop-process on pipes, Helmut Eller, 2021/11/11
- bug#51177: 29.0.50; stop-process on pipes, Lars Ingebrigtsen, 2021/11/11
- bug#51177: 29.0.50; stop-process on pipes, Helmut Eller, 2021/11/12
- bug#51177: 29.0.50; stop-process on pipes, Lars Ingebrigtsen, 2021/11/12
- bug#51177: 29.0.50; stop-process on pipes, Eli Zaretskii, 2021/11/12
- bug#51177: 29.0.50; stop-process on pipes, Helmut Eller, 2021/11/12
- bug#51177: 29.0.50; stop-process on pipes, Eli Zaretskii, 2021/11/12
- bug#51177: 29.0.50; stop-process on pipes, Helmut Eller, 2021/11/12
- bug#51177: 29.0.50; stop-process on pipes, Eli Zaretskii, 2021/11/12
- bug#51177: 29.0.50; stop-process on pipes, Helmut Eller, 2021/11/12
- bug#51177: 29.0.50; stop-process on pipes,
Helmut Eller <=