2010-01-19 09:43, Joey Hess wrote:
Attached patched fixes that.

Thanks for your patch.

I think that the bug is exiting at the SIGCHLD handler.
IIUC, all we need is to stop exiting there.

I am testing following patch.

--- ttyrec-1.0.8.orig/ttyrec.c  2010-04-27 10:22:52.000000000 +0900
+++ ttyrec-1.0.8/ttyrec.c       2010-04-27 11:12:35.000000000 +0900
@@ -209,14 +209,10 @@
        union wait status;
 #endif /* !SVR4 */
        register int pid;
-       register int die = 0;

        while ((pid = wait3((int *)&status, WNOHANG, 0)) > 0)
                if (pid == child)
-                       die = 1;
-
-       if (die)
-               done();
+                       break;
 }

 struct linebuf {
--



--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to