On Fri, Oct 22, 2010 at 2:10 AM, Jonathan Nieder <jrnieder@xxxxxxxxx> wrote: > Erik Faye-Lund wrote: > >> --- a/daemon.c >> +++ b/daemon.c > [...] >> @@ -671,18 +658,26 @@ static void check_dead_children(void) >> Â Â Â int status; >> Â Â Â pid_t pid; >> >> - Â Â while ((pid = waitpid(-1, &status, WNOHANG)) > 0) { >> + Â Â struct child **cradle, *blanket; >> + Â Â for (cradle = &firstborn; (blanket = *cradle);) >> + Â Â Â Â Â Â if ((pid = waitpid(blanket->cld.pid, &status, WNOHANG)) > 1) { > > What is this change (> 0 â > 1) about? > Oooh, that's a typo, nice catch! I'll throw in a hot-fix when reposting! -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html