[Bug 1967] Concern over OBJECTS_NAME_ALIGNMENT
bugzilla-daemon at rtems.org
bugzilla-daemon at rtems.org
Mon Nov 28 15:23:30 UTC 2011
https://www.rtems.org/bugzilla/show_bug.cgi?id=1967
--- Comment #6 from Joel Sherrill <joel.sherrill at oarcorp.com> 2011-11-28 09:23:29 CST ---
OBJECTS_NAME_ALIGNMENT is only used in one place:
score/src/objectinitializeinformation.c. The name implies a structural
alignment but it isn't. It is an adjustment factor so the maximum string
length is a multiple of this. It is only used to have a limit for strnXXX()
operations on objects with string names.
My first thought is that the entire section of code in
objectinitializeinformation.c can likely go away. Then this macro won't be
needed and the code will be simple
--
Configure bugmail: https://www.rtems.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.
More information about the bugs
mailing list