Martijn, can you start out by stating concisely the problem you're
trying to solve here? I wasn't able to understand that mail much.
You do know that we're *not* asking Win32 users to type forward
slashes in their arguments, right? (It sounds like you do know that,
I just am making sure.)
-Karl
Martijn Boekhorst <subversion@boekhorst.net> writes:
> This is really really really akward to code - and I find myself making _alloca
> macros to get around the issues.
>
> Doesn't it make more sense for a win32 version to use the \ path convention and
> perhaps layer/wrap these things with either macros or stubs? Using MAX_PATH as
> a constant we can allocate one / thread and use thread local storage (related
> question, are the client libs thread-safe?), then, a macro could be included
> for windows clients to convert these and wrap the original call.
>
> Eg. if I may be nasty :
> #define svn_wc_check_wc(path, is_wc, pool)\
> svn_wc_check_wc(PATH_LOCAL_TO_SVN(path), is_wc, pool);
>
> at the bottom of the file - or better - in a seperate include file (keeping the
> original relatively muck-free), included conditionally at the bottom of the svn
> include file (I don't know - making it up).
>
> Just thinking out loud here and these are probably silly thoughts, but using
> forward slashes on a win32 platform is really quite 'strange', regardless of
> URL formatting which needs translation anyway; and in addition represents a
> barrier for entry since I couldn't find it documented anywhere (which could be
> my failure to look for it ofcourse).
>
> To-do or Too-bad?
>
> Cheers, Martijn.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
> For additional commands, e-mail: dev-help@subversion.tigris.org
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Tue Jun 25 22:44:37 2002