[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 21:23:57 CET

kfogel@collab.net wrote:
> I thought the main thing here was that we always use the APR path
> separator, which is '/', and that callers of our libraries need to
> ensure they pass that. (And don't we have some helper funcs to take
> care of it?) The command line client is such a caller, for example.
> -K

On Windows, at least, if you don't also get case canonized correctly for
existing files, then a number of operations can fail.

It would be nice if we had a function to do all the stuff that the
command line client's target conversion does...would a patch to that
effect be acceptable? I would think it would be a new function in
libsvn_subr\path.c that just does what that chunk of
svn_opt_args_to_target_array already does.

Of course, it's not that hard for C client programs to make a helper
function to do it also...but it might be more difficult for clients of
the bindings...I'm not sure.


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