--- diffutils-3.3.old/src/sdiff.c +++ diffutils-3.3/src/sdiff.c @@ -665,7 +665,7 @@ ck_fclose (out); { - int wstatus; + int wstatus = 0; int werrno = 0; #if ! HAVE_WORKING_FORK @@ -674,11 +674,6 @@ werrno = errno; #else ck_fclose (diffout); - while (waitpid (diffpid, &wstatus, 0) < 0) - if (errno == EINTR) - checksigs (); - else - perror_fatal ("waitpid"); diffpid = 0; #endif