[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: [RFC] Canonical Paths

From: Marcus Comstedt <marcus_at_mc.pp.se>
Date: 2002-08-28 23:10:30 CEST

Justin Erenkrantz <jerenkrantz@apache.org> writes:

> > 3. The canonical form for the path representing the current directory
> > could be either "." or "". Currently the path library is not
> > consistent. We should pick one, and then we do not need to handle
> > the other. APR is know to have some problems using "", so "."
> > would be the one I would choose.
>
> Yeah, "." is the right answer if you ask me.

If you ask me, OTOH, "." is the wrong answer. If you canonicalize the
current directory to ".", what are you going to canonicalize a
reference to a regular file called "." to on a system that supports
such files (like AmigaOS)? I don't know of any system that allows ""
as the name of a regular file.

  // Marcus

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Wed Aug 28 23:11:22 2002

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.