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

Re: CGI for repository administration

From: Greg Stein <gstein_at_lyra.org>
Date: 2003-01-08 01:32:43 CET

On Wed, Jan 08, 2003 at 12:26:41AM +0100, Josef Wolf wrote:
> An other possibility to fix it would be to add a parameter to
> svn_io_check_path() so that it knows whether the calling function is
> able to deal with symlinks. This would also be trivial to do, but is
> somewhat broken-by-design...

Seems simpler to just stat whatever the link points to, rather than the link
itself. IOW, remove the APR_FINFO_LINK. Since we aren't interested in links
right now, this is the simplest answer.

When we *do* want to start discovering links themselves, then we can do
whatever is appropriate. But most users of that function are not looking for
links: they want not-present or is-file or is-dir.


Greg Stein, http://www.lyra.org/
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Wed Jan 8 01:31:44 2003

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.