From: Bruno Haible Date: Tue, 29 Apr 2008 01:04:35 +0000 (+0200) Subject: Use 'raise'. X-Git-Tag: v0.1~7467 X-Git-Url: http://erislabs.org.uk/gitweb/?a=commitdiff_plain;h=a52746a724eb0f5446d80015186e85cbb97fedef;p=gnulib.git Use 'raise'. --- diff --git a/ChangeLog b/ChangeLog index 4c9e4a120..c2fdaa6ac 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2008-04-20 Bruno Haible + + * lib/c-stack.c (die): Use raise. + * modules/c-stack (Depends-on): Add raise. + 2008-04-28 Bruno Haible Expect rpmatch to be declared. diff --git a/lib/c-stack.c b/lib/c-stack.c index 81be7cf11..a7ebafa8a 100644 --- a/lib/c-stack.c +++ b/lib/c-stack.c @@ -119,7 +119,7 @@ die (int signo) write (STDERR_FILENO, "\n", 1); if (! signo) _exit (exit_failure); - kill (getpid (), signo); + raise (signo); abort (); } diff --git a/modules/c-stack b/modules/c-stack index 926aaf7ae..e87dd1ad6 100644 --- a/modules/c-stack +++ b/modules/c-stack @@ -10,6 +10,7 @@ Depends-on: gettext-h exitfail unistd +raise configure.ac: gl_C_STACK