Subject: bug#13086: 24.2.50; Emacs seems to hang at w32proc.c:1126

From: Paul Eggert <[email-masked]>
Date: Thu, 06 Dec 2012 13:36:53 -0800

On 12/06/12 12:48, Eli Zaretskii wrote:
> And that is exactly what we will do in an build
> without assertions, if waitpid returns ECHILD.

One possibility is to replace
"eassert (errno == EINTR);" with
"if (errno != EINTR) emacs_abort ();";
that would prevent the loop.

There are other possibilities,
for example, Emacs could report an error and
refuse to kill any processes thereafter;
this would prevent it from killing innocent-victim
processes.