On 2005-04-01 10:30:26 +0100 David Ayers <d.ayers@inode.at> wrote:
Sheldon Gill wrote:
Why is the code checking for an absolute path? It is superfluous
and is more likely to cause problems than solve them.
I kind of agree that this seems superfluous. If there is a reason,
we need some documentation.
The check is not superfluous ... and is already documented both in
the Apple documentation and in the GNUstep base documentation.
However, the behavior as a result of the check is undocumented ...
though it should be of course. Reading the documentation
conservatively/literally I think that the code should return nil as a
result of the check ... however GNUstep has a history of being
permissive, and the current automatic conversion from relative to
absolute path might be considered a good thing. Certainly we should
not be stricter is MacOS-X is not. I will test the behavior on
MacOS-X and make the GNUstep behavior strict if MacOS-X is strict.