forked from Imagelibrary/rtems
2011-03-08 Joel Sherrill <joel.sherrilL@OARcorp.com>
* score/src/objectinitializeinformation.c: Reverse sense of conditional and improve comment. Comment was right but brief, conditional was backwards.
This commit is contained in:
@@ -1,3 +1,9 @@
|
||||
2011-03-08 Joel Sherrill <joel.sherrilL@OARcorp.com>
|
||||
|
||||
* score/src/objectinitializeinformation.c: Reverse sense of conditional
|
||||
and improve comment. Comment was right but brief, conditional was
|
||||
backwards.
|
||||
|
||||
2011-03-08 Joel Sherrill <joel.sherrilL@OARcorp.com>
|
||||
|
||||
PR 1759/cpukit
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
/*
|
||||
* Object Handler Initialization per Object Class
|
||||
*
|
||||
* COPYRIGHT (c) 1989-2010.
|
||||
* COPYRIGHT (c) 1989-2011.
|
||||
* On-Line Applications Research Corporation (OAR).
|
||||
*
|
||||
* The license and distribution terms for this file may be
|
||||
@@ -134,7 +134,7 @@ void _Objects_Initialize_information(
|
||||
*/
|
||||
name_length = maximum_name_length;
|
||||
|
||||
#if !defined(RTEMS_POSIX_API)
|
||||
#if defined(RTEMS_POSIX_API)
|
||||
if ( name_length & (OBJECTS_NAME_ALIGNMENT-1) )
|
||||
name_length = (name_length + OBJECTS_NAME_ALIGNMENT) &
|
||||
~(OBJECTS_NAME_ALIGNMENT-1);
|
||||
|
||||
Reference in New Issue
Block a user