On Sunday, September 14, 2003, at 12:50 , Michael G Schwern wrote:

On Sat, Sep 13, 2003 at 09:55:48PM +0300, Vladimir Lipskiy wrote:

To be clearer: concat_dirnames("b", "/foo") == error.

As long as concat_dirnames() will be taught to divine whether its arguments
are absolute paths or relative paths, it could easily rotate its arguments
so the above-mentioned call would become concat_dirnames("/foo", "b").

That would be really silly.

I must agree. The only reasonable results of that are either (a) an error [""] or (b) "/foo". (I'd go with [b].)




Gordon Henriksen
[EMAIL PROTECTED]

Reply via email to