GNU bug report logs - #13475
24.2.91; accept-process-output hangs emacs on killed sub-process

Previous Next

Package: emacs;

Reported by: Vitalie Spinu <spinuvit <at> gmail.com>

Date: Thu, 17 Jan 2013 12:39:02 UTC

Severity: normal

Tags: confirmed

Found in versions 24.2.91, 25.0.95

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

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Dmitry Gutov <dgutov <at> yandex.ru>
Cc: Vitalie Spinu <spinuvit <at> gmail.com>, 13475 <at> debbugs.gnu.org
Subject: bug#13475: 24.2.91; accept-process-output hangs emacs on killed sub-process
Date: Tue, 08 Oct 2019 18:37:42 +0200
Dmitry Gutov <dgutov <at> yandex.ru> writes:

> On 07.10.2019 6:19, Lars Ingebrigtsen wrote:
>> By "was closed" here, I think what's meant is "was closed before TIMEOUT
>> expired".  If the connection is closed before the call, we wait for the
>> entire timeout.
>
> And return nil? That sounds kinda brittle, as an API.

Yeah, you have to check whether the process is alive before calling the
function if you're looping over it.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




This bug report was last modified 5 years and 230 days ago.

Previous Next


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