Changeset b1e13f4 in rtems


Ignore:
Timestamp:
Mar 9, 2011, 4:19:37 PM (9 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.11, master
Children:
8b54251d
Parents:
ce217f96
Message:

2011-03-09 Joel Sherrill <joel.sherrill@…>

  • score/src/threadget.c: Remove conditional since this path can be tested with and without POSIX enabled.
Location:
cpukit
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • cpukit/ChangeLog

    rce217f96 rb1e13f4  
     12011-03-09      Joel Sherrill <joel.sherrill@oarcorp.com>
     2
     3        * score/src/threadget.c: Remove conditional since this path can be
     4        tested with and without POSIX enabled.
     5
    162011-03-08      Joel Sherrill <joel.sherrilL@OARcorp.com>
    27
  • cpukit/score/src/threadget.c

    rce217f96 rb1e13f4  
    22 *  Thread Handler - Object Id to Thread Pointer
    33 *
    4  *  COPYRIGHT (c) 1989-2010.
     4 *  COPYRIGHT (c) 1989-2011.
    55 *  On-Line Applications Research Corporation (OAR).
    66 *
     
    7777  api_information = _Objects_Information_table[ the_api ];
    7878  /*
    79    *  There is no way for this to happen if POSIX is enabled.
     79   *  There is no way for this to happen if POSIX is enabled.  But there
     80   *  is actually a test case in sp43 for this which trips it whether or
     81   *  not POSIX is enabled.  So in the interest of safety, this is left
     82   *  on in all configurations.
    8083   */
    81   #if !defined(RTEMS_POSIX_API)
    82     if ( !api_information ) {
    83       *location = OBJECTS_ERROR;
    84       goto done;
    85     }
    86   #endif
     84  if ( !api_information ) {
     85    *location = OBJECTS_ERROR;
     86    goto done;
     87  }
    8788
    8889  information = api_information[ the_class ];
Note: See TracChangeset for help on using the changeset viewer.