summaryrefslogtreecommitdiffstats
path: root/cpukit/posix/src/psignal.c
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2008-04-18 15:01:36 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2008-04-18 15:01:36 +0000
commit6be8a839ce5a759b3f94a15f02841d9f6138a633 (patch)
tree531a6812491021bd35c047d9980de83abe71b09e /cpukit/posix/src/psignal.c
parent2008-04-18 Joel Sherrill <joel.sherrill@OARcorp.com> (diff)
downloadrtems-6be8a839ce5a759b3f94a15f02841d9f6138a633.tar.bz2
2008-04-18 Joel Sherrill <joel.sherrill@oarcorp.com>
* posix/src/key.c: Include <limits.h> * posix/src/psignal.c, rtems/src/tasks.c: Do not attempt to process a NULL extension block.
Diffstat (limited to 'cpukit/posix/src/psignal.c')
-rw-r--r--cpukit/posix/src/psignal.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/cpukit/posix/src/psignal.c b/cpukit/posix/src/psignal.c
index 62500ba4a5..a6c096caa7 100644
--- a/cpukit/posix/src/psignal.c
+++ b/cpukit/posix/src/psignal.c
@@ -108,6 +108,8 @@ void _POSIX_signals_Post_switch_extension(
ISR_Level level;
api = the_thread->API_Extensions[ THREAD_API_POSIX ];
+ if ( !api )
+ return;
/*
* If we invoke any user code, there is the possibility that