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

Poor support for \ on windows from the C API?

From: Barry Scott <barry_at_barrys-emacs.org>
Date: 2003-11-14 19:03:41 CET

I just found that if a pass paths with \ in them to the C API
some of the svn functions fail. For example

     svn_error_t *error
       = svn_wc_adm_probe_open (&adm_access, NULL, path, FALSE,
                                     FALSE, pool);

will fail if pass l:\subversion\current\rapidsvn\src\svncpp\client.cpp
as the path. Inside it tries to split the path into its dir part and
fails as it looks for a '/'.

I also see paths returned out of svn C API with '/' in them that are
also problematic. Not all Win32 API allow the use of '/' in a path

What is your plan for supporting OS path separators fully?
How do you advise this issue is handled before subversion API
accepts '/' on windows?

It seems that apr has few functions to help with this problem.


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