From: Jim Meyering Date: Sun, 10 Nov 2002 09:53:57 +0000 (+0000) Subject: (interrupt_handler): Use raise, rather than kill+getpid. X-Git-Tag: COREUTILS-4_5_4~264 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=2ebcd575a0b0b0551cd578a6e1c58b461e9665be;p=platform%2Fupstream%2Fcoreutils.git (interrupt_handler): Use raise, rather than kill+getpid. --- diff --git a/src/dd.c b/src/dd.c index 1a9d8a1e5..aba75fcdb 100644 --- a/src/dd.c +++ b/src/dd.c @@ -406,7 +406,7 @@ interrupt_handler (int sig) signal (sig, SIG_DFL); #endif cleanup (); - kill (getpid (), sig); + raise (sig); } static RETSIGTYPE