Changeset d858fdb in rtems


Ignore:
Timestamp:
08/09/96 17:30:13 (27 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, 5, master
Children:
66dfd0b
Parents:
760ee96d
Message:

merged remote object id and invalid id error cases.

Files:
2 edited

Legend:

Unmodified
Added
Removed
  • c/src/exec/posix/src/key.c

    r760ee96d rd858fdb  
    117117  switch ( location ) {
    118118    case OBJECTS_ERROR:
     119    case OBJECTS_REMOTE:   /* should never happen */
    119120      return EINVAL;
    120     case OBJECTS_REMOTE:
    121       return EINVAL;       /* should never happen */
    122121    case OBJECTS_LOCAL:
    123122      index = _Objects_Get_index( _Thread_Executing->Object.id );
     
    148147  switch ( location ) {
    149148    case OBJECTS_ERROR:
     149    case OBJECTS_REMOTE:   /* should never happen */
    150150      return NULL;
    151     case OBJECTS_REMOTE:
    152       return 0;       /* should never happen */
    153151    case OBJECTS_LOCAL:
    154152      index = _Objects_Get_index( _Thread_Executing->Object.id );
     
    177175  switch ( location ) {
    178176    case OBJECTS_ERROR:
     177    case OBJECTS_REMOTE:   /* should never happen */
    179178      return EINVAL;
    180     case OBJECTS_REMOTE:
    181       return 0;       /* should never happen */
    182179    case OBJECTS_LOCAL:
    183180      _Objects_Close( &_POSIX_Keys_Information, &the_key->Object );
  • cpukit/posix/src/key.c

    r760ee96d rd858fdb  
    117117  switch ( location ) {
    118118    case OBJECTS_ERROR:
     119    case OBJECTS_REMOTE:   /* should never happen */
    119120      return EINVAL;
    120     case OBJECTS_REMOTE:
    121       return EINVAL;       /* should never happen */
    122121    case OBJECTS_LOCAL:
    123122      index = _Objects_Get_index( _Thread_Executing->Object.id );
     
    148147  switch ( location ) {
    149148    case OBJECTS_ERROR:
     149    case OBJECTS_REMOTE:   /* should never happen */
    150150      return NULL;
    151     case OBJECTS_REMOTE:
    152       return 0;       /* should never happen */
    153151    case OBJECTS_LOCAL:
    154152      index = _Objects_Get_index( _Thread_Executing->Object.id );
     
    177175  switch ( location ) {
    178176    case OBJECTS_ERROR:
     177    case OBJECTS_REMOTE:   /* should never happen */
    179178      return EINVAL;
    180     case OBJECTS_REMOTE:
    181       return 0;       /* should never happen */
    182179    case OBJECTS_LOCAL:
    183180      _Objects_Close( &_POSIX_Keys_Information, &the_key->Object );
Note: See TracChangeset for help on using the changeset viewer.