Changeset 2b454fa in rtems for cpukit/score/inline


Ignore:
Timestamp:
Apr 26, 2002, 11:56:56 PM (18 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, master
Children:
bf99393f
Parents:
7ae7cf7
Message:

2001-04-26 Joel Sherrill <joel@…>

  • include/rtems/score/object.h, inline/rtems/score/object.inl, src/objectcomparenamestring.c: Address PR81 that reworked POSIX message queues to add a descriptor separate from the underlying message queue. This allows non-blocking to follow the "open" not the underlying queue. As part of debugging this it became clear that _Objects_Compare_name_string was broken and a simple version using strncmp() was substituted.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • cpukit/score/inline/rtems/score/object.inl

    r7ae7cf7 r2b454fa  
    243243
    244244  if ( information->is_string )
    245     _Objects_Copy_name_string( name, the_object->name );
     245    /* _Objects_Copy_name_string( name, the_object->name ); */
     246    the_object->name = name;
    246247  else
    247248    _Objects_Copy_name_raw( name, the_object->name, information->name_length );
     
    267268  index = _Objects_Get_index( the_object->id );
    268269  _Objects_Set_local_object( information, index, NULL );
    269   _Objects_Clear_name( the_object->name, information->name_length );
     270  /* _Objects_Clear_name( the_object->name, information->name_length ); */
     271  the_object->name = 0;
    270272}
    271273
     
    284286)
    285287{
    286   _Objects_Clear_name( the_object->name, information->name_length );
     288  /* _Objects_Clear_name( the_object->name, information->name_length ); */
     289  the_object->name = 0;
    287290}
    288291
Note: See TracChangeset for help on using the changeset viewer.