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

Re: Poor support for \ on windows from the C API?

From: D.J. Heap <dj_at_shadyvale.net>
Date: 2003-11-14 20:00:15 CET

C. Michael Pilato wrote:
> Barry Scott <barry@barrys-emacs.org> writes:
>
>
>>What is your plan for supporting OS path separators fully?
>>How do you advise this issue is handled before subversion API
>>accepts '/' on windows?
>
>
> I thought we required (though we don't check this) all API functions
> to be called with UTF8-encoded, normalized-style (that's
> '/'-delimited) paths.
>

Yes, I believe so, and also canonized for case on case-insensitive
platforms. The commandline client uses a helper function
(subversion\libsvn_subr\opt.c:svn_opt_args_to_target_array) that uses
apr_filepath_merge, svn_path_cstring_to_utf8 and svn_path_canonicalize
to convert target paths for library calls. Urls are treated slightly
differently.

DJ

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Fri Nov 14 20:01:24 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.