bug-diffutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug-diffutils] bug#31218: bug#31218: kill() not wrapped with HAVE_WORKI


From: Paul Eggert
Subject: [bug-diffutils] bug#31218: bug#31218: kill() not wrapped with HAVE_WORKING_FORK
Date: Thu, 19 Apr 2018 14:38:26 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.7.0

On 04/19/2018 02:59 AM, Burton, Ross wrote:
However, in checksigs() it isn't.  A simple fix to help build
diffutils under mingw (which doesn't have kill()) is:

+--- a/src/sdiff.c
++++ b/src/sdiff.c
+@@ -805,7 +805,9 @@
+
+       /* Yield an exit status indicating that a signal was received.  */
+       untrapsig (s);
++#if HAVE_WORKING_FORK
+       kill (getpid (), s);
++#endif

How about using 'raise' instead?






reply via email to

[Prev in Thread] Current Thread [Next in Thread]