[Bug 1541] filesystem macros in libio_.h to be converted to functions

bugzilla-daemon at rtems.org bugzilla-daemon at rtems.org
Tue Jun 1 13:14:43 UTC 2010


https://www.rtems.org/bugzilla/show_bug.cgi?id=1541


Joel Sherrill <joel.sherrill at oarcorp.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|bharath.s.jois at gmail.com    |chrisj at rtems.org




--- Comment #3 from Joel Sherrill <joel.sherrill at oarcorp.com>  2010-06-01 08:14:42 ---
Chris.. assigning to you since you are the most familiar at the moment and can
answer quicker.

I think the index to 0 on relative and 1 on absolute is ensuring that the
returned index points to a character component of the name.

The filesystem is root when absolute since you intended to start there with the
path evaluation and current when relative because the evaluation starts in the
current filesystem.

I think this is right but want a second opinion.

Moving these to separate methods allows this behaviour to be documented better.

-- 
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