diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 2008-04-18 15:01:36 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 2008-04-18 15:01:36 +0000 |
commit | 6be8a839ce5a759b3f94a15f02841d9f6138a633 (patch) | |
tree | 531a6812491021bd35c047d9980de83abe71b09e /cpukit/posix | |
parent | 2008-04-18 Joel Sherrill <joel.sherrill@OARcorp.com> (diff) | |
download | rtems-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')
-rw-r--r-- | cpukit/posix/src/key.c | 1 | ||||
-rw-r--r-- | cpukit/posix/src/psignal.c | 2 |
2 files changed, 3 insertions, 0 deletions
diff --git a/cpukit/posix/src/key.c b/cpukit/posix/src/key.c index 3b4776817b..42d2aeb805 100644 --- a/cpukit/posix/src/key.c +++ b/cpukit/posix/src/key.c @@ -17,6 +17,7 @@ #include <limits.h> #include <pthread.h> #include <string.h> +#include <limits.h> #include <rtems/system.h> #include <rtems/score/thread.h> 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 |