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

Re: svn commit: r1622937 -/subversion/trunk/subversion/libsvn_fs_fs/low_level.c

From: Branko Čibej <brane_at_wandisco.com>
Date: Sun, 07 Sep 2014 10:44:22 +0200

On 06.09.2014 23:54, Bert Huijben wrote:
> The dirent is canonical test is not the right test for fspaths.
> Dirents are platform specific, while fspaths aren't. E.g. this breaks
> fspaths containing ':' on Windows.
>
> I think there should be a valid fspath API for this use case, and if
> not we should add it.

It's called svn_fspath__is_canonical, and it already checks for the
leading slash.

-- Brane
Received on 2014-09-07 10:44:55 CEST

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.