Group :: Terminals
RPM: ttyrec
Main Changelog Spec Patches Sources Download Gear Bugs and FR Repocop
Patch: 08_sigchld.diff
Download
Download
Description: Don't exit at SIGCHLD handler
Auther: NIIBE Yutaka <gniibe@fsij.org>
Reported-By: Joey Hess <joeyh@debian.org>
Bug-Debian: http://bugs.debian.org/558992
Reviewed-By: NIIBE Yutaka <gniibe@fsij.org>
Last-Update: 2010-04-27
--- 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 {