diff options
author | Paul Eggert <eggert@cs.ucla.edu> | 2018-04-20 13:39:15 -0700 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2018-04-20 13:39:34 -0700 |
commit | 56225ecca4f9598c0c9dbd7c46a51dd4816a383f (patch) | |
tree | 7df18b0d5b3de6f1804629977718b16132df2786 | |
parent | 9b87043d8d8fb977ac07db074289571ac745e493 (diff) | |
download | diffutils-56225ecca4f9598c0c9dbd7c46a51dd4816a383f.tar.gz |
sdiff: port to mingw
Problem reported by Ross Burton (Bug#31218).
* src/sdiff.c (checksigs): Use ‘raise’, not ‘kill’.
-rw-r--r-- | src/sdiff.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sdiff.c b/src/sdiff.c index 1b23a0c..b08bc74 100644 --- a/src/sdiff.c +++ b/src/sdiff.c @@ -805,7 +805,7 @@ checksigs (void) /* Yield an exit status indicating that a signal was received. */ untrapsig (s); - kill (getpid (), s); + raise (s); /* That didn't work, so exit with error status. */ exit (EXIT_TROUBLE); |