race condition in extract_base.c
I think there is a race condition when we're executing debootstrap
that will lead to random errors and zombie debootstrap processes.
Could someone sanity check this patch? I haven't been able to test
it, but it looks like it should be right.
--- extract_base.c.~1.61.~ Sat Nov 3 10:28:01 2001
+++ extract_base.c Fri Nov 9 08:44:52 2001
@@ -220,7 +220,7 @@
boxProgress(PROGRESS_CLOSE, NULL);
- if (waitpid(pid, &status, WNOHANG) && (WIFEXITED(status) != 0 ))
+ if (waitpid(pid, &status, 0) && (WIFEXITED(status) != 0 ))
{
rv = WEXITSTATUS(status);
if (rv != 0 ) {
Reply to: