GNU bug report logs -
#56025
29.0.50; em-extpipe-test-2 times out on EMBA and Cygwin
Previous Next
Reported by: Ken Brown <kbrown <at> cornell.edu>
Date: Thu, 16 Jun 2022 18:36:02 UTC
Severity: normal
Found in version 29.0.50
Fixed in version 29.1
Done: Lars Ingebrigtsen <larsi <at> gnus.org>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
Hello,
On Thu 23 Jun 2022 at 09:18pm -04, Ken Brown wrote:
> diff --git a/lisp/eshell/esh-io.el b/lisp/eshell/esh-io.el
> index 3644c1a18b..1c4131cb07 100644
> --- a/lisp/eshell/esh-io.el
> +++ b/lisp/eshell/esh-io.el
> @@ -276,8 +276,8 @@ eshell-close-target
> ;; If we're redirecting to a process (via a pipe, or process
> ;; redirection), send it EOF so that it knows we're finished.
> ((eshell-processp target)
> - (if (eq (process-status target) 'run)
> - (process-send-eof target)))
> + (while (eq (process-status target) 'run)
> + (process-send-eof target)))
>
> ;; A plain function redirection needs no additional arguments
> ;; passed.
>
> I'm about to go AFK for a few days. If the eshell people agree that something
> like this patch should be installed, please go ahead. I think it would then be
> worth re-enabling the extpipe tests on EMBA to see if the problem is fixed there
> too.
I'm a bit queasy about an unbounded loop here. Why not just try three
times? Or, better, try twice, and a third time only if we're on a
platform where we know it's needed.
Many thanks for the investigative work.
--
Sean Whitton
This bug report was last modified 2 years and 350 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.