diff options
Diffstat (limited to 'cpukit')
-rw-r--r-- | cpukit/posix/ChangeLog | 7 | ||||
-rw-r--r-- | cpukit/posix/src/mqueuenametoid.c | 4 | ||||
-rw-r--r-- | cpukit/posix/src/semaphorenametoid.c | 4 |
3 files changed, 11 insertions, 4 deletions
diff --git a/cpukit/posix/ChangeLog b/cpukit/posix/ChangeLog index 062dc3e254..d1f906cbf7 100644 --- a/cpukit/posix/ChangeLog +++ b/cpukit/posix/ChangeLog @@ -1,5 +1,12 @@ 2003-08-14 Joel Sherrill <joel@OARcorp.com> + * src/mqueuenametoid.c, src/semaphorenametoid.c: Added ID to name + lookup service and changed name of id/name translation status code. + This propagated to multiple functions. The user API service added was + rtems_object_id_to_name() + +2003-08-14 Joel Sherrill <joel@OARcorp.com> + PR 92/rtems * Makefile.am, src/alarm.c, src/psignal.c: Added ualarm() and usleep(). * src/ualarm.c, src/usleep.c: New files. diff --git a/cpukit/posix/src/mqueuenametoid.c b/cpukit/posix/src/mqueuenametoid.c index 914b84351f..b11c53bc51 100644 --- a/cpukit/posix/src/mqueuenametoid.c +++ b/cpukit/posix/src/mqueuenametoid.c @@ -45,7 +45,7 @@ int _POSIX_Message_queue_Name_to_id( Objects_Id *id ) { - Objects_Name_to_id_errors status; + Objects_Name_or_id_lookup_errors status; if ( !name ) return EINVAL; @@ -59,7 +59,7 @@ int _POSIX_Message_queue_Name_to_id( status = _Objects_Name_to_id( &_POSIX_Message_queue_Information, (char *)name, 0, id ); - if ( status == OBJECTS_SUCCESSFUL ) + if ( status == OBJECTS_NAME_OR_ID_LOOKUP_SUCCESSFUL ) return 0; return ENOENT; diff --git a/cpukit/posix/src/semaphorenametoid.c b/cpukit/posix/src/semaphorenametoid.c index e5d15cd7ed..303c00d979 100644 --- a/cpukit/posix/src/semaphorenametoid.c +++ b/cpukit/posix/src/semaphorenametoid.c @@ -33,7 +33,7 @@ int _POSIX_Semaphore_Name_to_id( sem_t *id ) { - Objects_Name_to_id_errors status; + Objects_Name_or_id_lookup_errors status; if ( !name ) return EINVAL; @@ -44,7 +44,7 @@ int _POSIX_Semaphore_Name_to_id( status = _Objects_Name_to_id( &_POSIX_Semaphore_Information, (char *)name, 0, (Objects_Id*)id ); - if ( status == OBJECTS_SUCCESSFUL ) + if ( status == OBJECTS_NAME_OR_ID_LOOKUP_SUCCESSFUL ) return 0; return ENOENT; |