[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: some accept-process-output races fixed; Tramp FIXMEs
From: |
Michael Albinus |
Subject: |
Re: some accept-process-output races fixed; Tramp FIXMEs |
Date: |
Tue, 22 Jan 2019 23:45:26 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) |
Stefan Monnier <address@hidden> writes:
>> If we could guarantee that (accept-process-output p) returns when
>> either output has arrived and or the process has finished, I could
>> change the code.
>
> This has been the promise of the docstring "for ever", AFAIK.
> Which means that if you have nothing else to do until the process dies,
> then you're better off using nil for the timeout.
> I don't know if that promise was broken by bugs in the code, OTOH.
At least the w32 version of accept-process-output was broken in the
past, see the comment in tramp-accept-process-output. But this was Emacs
22 time, so hopefully it is fixed now.
I would need to test with Emacs 24, whether this is fixed. No chance for
*me*; I'm lucky when I can test with a recent Emacs on a w32 system.
Well ... I'll test with Emacs 26, and if it passes the tests, I'll
assume it works also with Emacs 24 and 25.
> Stefan
Best regards, Michael.
- Re: some accept-process-output races fixed; Tramp FIXMEs, (continued)
- Re: some accept-process-output races fixed; Tramp FIXMEs, Paul Eggert, 2019/01/22
- Re: some accept-process-output races fixed; Tramp FIXMEs, Eli Zaretskii, 2019/01/22
- Re: some accept-process-output races fixed; Tramp FIXMEs, Michael Albinus, 2019/01/22
- Re: some accept-process-output races fixed; Tramp FIXMEs, Stefan Monnier, 2019/01/22
- Re: some accept-process-output races fixed; Tramp FIXMEs,
Michael Albinus <=
- Re: some accept-process-output races fixed; Tramp FIXMEs, Eli Zaretskii, 2019/01/23
- Re: some accept-process-output races fixed; Tramp FIXMEs, Michael Albinus, 2019/01/23
- Re: some accept-process-output races fixed; Tramp FIXMEs, Daniel Pittman, 2019/01/23
- Re: some accept-process-output races fixed; Tramp FIXMEs, Stefan Monnier, 2019/01/23
- Re: some accept-process-output races fixed; Tramp FIXMEs, Paul Eggert, 2019/01/23
- Re: some accept-process-output races fixed; Tramp FIXMEs, Michael Albinus, 2019/01/28