Changeset 17879f4 in rtems for c/src/exec/posix/src/semunlink.c


Ignore:
Timestamp:
Nov 18, 1999, 7:43:13 PM (21 years ago)
Author:
Jennifer Averett <Jennifer.Averett@…>
Branches:
4.10, 4.11, 4.8, 4.9, 5, master
Children:
105d7872
Parents:
c9ae846
Message:

+ Debuged to the point that you could open, unlink and close a semaphore.

but all paths have not been checked, yet.

File:
1 edited

Legend:

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

    rc9ae846 r17879f4  
    3232 
    3333  status = _POSIX_Semaphore_Name_to_id( name, &the_semaphore_id );
    34    
    35   if ( !status )
     34  if ( status != 0 )
    3635    set_errno_and_return_minus_one( status );
    3736
     
    5655
    5756      the_semaphore->linked = FALSE;
    58 
     57      _POSIX_Semaphore_Namespace_remove( the_semaphore );
    5958      _POSIX_Semaphore_Delete( the_semaphore );
    6059
Note: See TracChangeset for help on using the changeset viewer.