diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 1996-05-29 21:02:20 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 1996-05-29 21:02:20 +0000 |
commit | 2a98af841e1155b1b7a33c64086f4357d18095f9 (patch) | |
tree | c55a495a13f40489666394f417288b535ab69b33 /c/src/exec/posix/src/psignal.c | |
parent | fixed support for posix initialization threads table (diff) | |
download | rtems-2a98af841e1155b1b7a33c64086f4357d18095f9.tar.bz2 |
types.c: spacing
psignal.c: kill recognizes SIGABRT and exits to prevent asserts from
recursively occurring because kill was not implemented and asserted.
Diffstat (limited to 'c/src/exec/posix/src/psignal.c')
-rw-r--r-- | c/src/exec/posix/src/psignal.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/c/src/exec/posix/src/psignal.c b/c/src/exec/posix/src/psignal.c index cac74021ad..9a43fc7c07 100644 --- a/c/src/exec/posix/src/psignal.c +++ b/c/src/exec/posix/src/psignal.c @@ -19,6 +19,10 @@ int kill( int sig ) { + /* SIGABRT comes from abort via assert */ + if ( sig == SIGABRT ) { + exit( 1 ); + } return POSIX_NOT_IMPLEMENTED(); } |