Changeset d858fdb in rtems
- Timestamp:
- 08/09/96 17:30:13 (27 years ago)
- Branches:
- 4.10, 4.11, 4.8, 4.9, 5, master
- Children:
- 66dfd0b
- Parents:
- 760ee96d
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
c/src/exec/posix/src/key.c
r760ee96d rd858fdb 117 117 switch ( location ) { 118 118 case OBJECTS_ERROR: 119 case OBJECTS_REMOTE: /* should never happen */ 119 120 return EINVAL; 120 case OBJECTS_REMOTE:121 return EINVAL; /* should never happen */122 121 case OBJECTS_LOCAL: 123 122 index = _Objects_Get_index( _Thread_Executing->Object.id ); … … 148 147 switch ( location ) { 149 148 case OBJECTS_ERROR: 149 case OBJECTS_REMOTE: /* should never happen */ 150 150 return NULL; 151 case OBJECTS_REMOTE:152 return 0; /* should never happen */153 151 case OBJECTS_LOCAL: 154 152 index = _Objects_Get_index( _Thread_Executing->Object.id ); … … 177 175 switch ( location ) { 178 176 case OBJECTS_ERROR: 177 case OBJECTS_REMOTE: /* should never happen */ 179 178 return EINVAL; 180 case OBJECTS_REMOTE:181 return 0; /* should never happen */182 179 case OBJECTS_LOCAL: 183 180 _Objects_Close( &_POSIX_Keys_Information, &the_key->Object ); -
cpukit/posix/src/key.c
r760ee96d rd858fdb 117 117 switch ( location ) { 118 118 case OBJECTS_ERROR: 119 case OBJECTS_REMOTE: /* should never happen */ 119 120 return EINVAL; 120 case OBJECTS_REMOTE:121 return EINVAL; /* should never happen */122 121 case OBJECTS_LOCAL: 123 122 index = _Objects_Get_index( _Thread_Executing->Object.id ); … … 148 147 switch ( location ) { 149 148 case OBJECTS_ERROR: 149 case OBJECTS_REMOTE: /* should never happen */ 150 150 return NULL; 151 case OBJECTS_REMOTE:152 return 0; /* should never happen */153 151 case OBJECTS_LOCAL: 154 152 index = _Objects_Get_index( _Thread_Executing->Object.id ); … … 177 175 switch ( location ) { 178 176 case OBJECTS_ERROR: 177 case OBJECTS_REMOTE: /* should never happen */ 179 178 return EINVAL; 180 case OBJECTS_REMOTE:181 return 0; /* should never happen */182 179 case OBJECTS_LOCAL: 183 180 _Objects_Close( &_POSIX_Keys_Information, &the_key->Object );
Note: See TracChangeset
for help on using the changeset viewer.