diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 2010-07-26 22:03:18 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 2010-07-26 22:03:18 +0000 |
commit | 77c330ce3d71a76495cee444da11ee1d99733117 (patch) | |
tree | c542ac7a2b70e3aa819220862c4906726d549d8f /cpukit/libcsupport | |
parent | 2010-07-26 Joel Sherrill <joel.sherrill@oarcorp.com> (diff) | |
download | rtems-77c330ce3d71a76495cee444da11ee1d99733117.tar.bz2 |
2010-07-26 Joel Sherrill <joel.sherrill@oarcorp.com>
* libcsupport/src/privateenv.c, libmisc/cpuuse/cpuusagereport.c,
posix/Makefile.am, posix/include/rtems/posix/key.h,
posix/src/keycreate.c, posix/src/keydelete.c,
score/src/iterateoverthreads.c: Since removing ITRON, the loop over
all APIs for tasks has a path that cannot be reached. Either modify
the code or mark tests for NULL as RTEMS_DEBUG.
* posix/src/keyfreememory.c: New file.
Diffstat (limited to 'cpukit/libcsupport')
-rw-r--r-- | cpukit/libcsupport/src/privateenv.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/cpukit/libcsupport/src/privateenv.c b/cpukit/libcsupport/src/privateenv.c index b46f8e000b..65e7658dd7 100644 --- a/cpukit/libcsupport/src/privateenv.c +++ b/cpukit/libcsupport/src/privateenv.c @@ -122,8 +122,7 @@ rtems_status_code rtems_libio_share_private_env(rtems_id task_id) rtems_user_env_t * shared_user_env; rtems_id current_task_id; - sc=rtems_task_ident(RTEMS_SELF,0,¤t_task_id); - if (sc != RTEMS_SUCCESSFUL) return sc; + current_task_id = rtems_task_self(); if (rtems_current_user_env->task_id==current_task_id) { /* kill the current user env & task_var*/ |