Your message dated Sun, 10 Apr 2011 10:05:40 -0500
with message-id <[email protected]>
has caused the report #611591,
regarding emacs23: hangs while waiting for child on hurd-i386
to be marked as having been forwarded to the upstream software
author(s) [email protected]
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
611591: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=611591
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
(If possible, please preserve the 611591-forwarded address in any replies.)
It looks like there may be a problem with wait_for_termination() on
GNU/Hurd systems.
Samuel Thibault <[email protected]> writes:
> emacs23 would sometimes hang while waiting for a child. This is because
> wait_for_termination assumes that on all BSD-like systems kill() returns
> -1 on zombies. It happens that GNU/Hurd is a BSD-like system, but its
> kill() returns 0 on zombies.
>
> The attached patch fixes that.
--- a/src/sysdep.c 2011-01-31 01:10:24.000000000 +0100
+++ b/src/sysdep.c 2011-01-31 01:10:47.000000000 +0100
@@ -411,7 +411,7 @@
while (1)
{
#ifdef subprocesses
-#if defined (BSD_SYSTEM) || defined (HPUX)
+#if (defined (BSD_SYSTEM) || defined (HPUX)) && !defined(__GNU__)
/* Note that kill returns -1 even if the process is just a zombie now.
But inevitably a SIGCHLD interrupt should be generated
and child_sig will do wait3 and make the process go away. */
--
Rob Browning
rlb @defaultvalue.org and @debian.org
GPG as of 2002-11-03 14DD 432F AE39 534D B592 F9A0 25C8 D377 8C7E 73A4
--- End Message ---