diff options
Diffstat (limited to 'source/ap/diffutils/diffutils-sdiff-no-waitpid.patch')
-rw-r--r-- | source/ap/diffutils/diffutils-sdiff-no-waitpid.patch | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/source/ap/diffutils/diffutils-sdiff-no-waitpid.patch b/source/ap/diffutils/diffutils-sdiff-no-waitpid.patch new file mode 100644 index 000000000..a41b11648 --- /dev/null +++ b/source/ap/diffutils/diffutils-sdiff-no-waitpid.patch @@ -0,0 +1,23 @@ +--- diffutils-2.8.4/src/sdiff.c.orig 2002-06-17 00:55:42.000000000 -0500 ++++ diffutils-2.8.4/src/sdiff.c 2003-01-08 03:04:02.000000000 -0600 +@@ -692,7 +692,7 @@ + ck_fclose (out); + + { +- int wstatus; ++ int wstatus = 0; + int werrno = 0; + + #if ! (HAVE_WORKING_FORK || HAVE_WORKING_VFORK) +@@ -701,11 +701,6 @@ + werrno = errno; + #else + ck_fclose (diffout); +- while (waitpid (diffpid, &wstatus, 0) < 0) +- if (errno == EINTR) +- checksigs (); +- else +- perror_fatal ("waitpid"); + diffpid = 0; + #endif + |