could someone please fix that?
right now it converts e.g. "C:\test\project" to "" (empty string).
and svn_path_local_style() suffers the same symptomps.
Steve
that way it works:
const char *
svn_path_internal_style (const char *path, apr_pool_t *pool)
{
if ('/' != SVN_PATH_LOCAL_SEPARATOR)
{
char *p;
char *q;
/* Convert all local-style separators to the canonical ones. */
q = apr_pstrdup(pool, path);
for (p = q; *p != '\0'; ++p)
{
if (*p == SVN_PATH_LOCAL_SEPARATOR)
*p = '/';
}
return svn_path_canonicalize (q, pool);
}
return svn_path_canonicalize (path, pool);
/* FIXME: Should also remove trailing /.'s, if the style says so. */
}
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Tue Nov 19 20:26:09 2002