1
0
mirror of https://git.savannah.gnu.org/git/gnulib.git synced 2025-08-08 17:22:05 +03:00

Use 'raise'.

This commit is contained in:
Bruno Haible
2008-04-29 03:04:35 +02:00
parent 01dfd1752e
commit a52746a724
3 changed files with 7 additions and 1 deletions

View File

@@ -1,3 +1,8 @@
2008-04-20 Bruno Haible <bruno@clisp.org>
* lib/c-stack.c (die): Use raise.
* modules/c-stack (Depends-on): Add raise.
2008-04-28 Bruno Haible <bruno@clisp.org> 2008-04-28 Bruno Haible <bruno@clisp.org>
Expect rpmatch to be declared. Expect rpmatch to be declared.

View File

@@ -119,7 +119,7 @@ die (int signo)
write (STDERR_FILENO, "\n", 1); write (STDERR_FILENO, "\n", 1);
if (! signo) if (! signo)
_exit (exit_failure); _exit (exit_failure);
kill (getpid (), signo); raise (signo);
abort (); abort ();
} }

View File

@@ -10,6 +10,7 @@ Depends-on:
gettext-h gettext-h
exitfail exitfail
unistd unistd
raise
configure.ac: configure.ac:
gl_C_STACK gl_C_STACK