Re: [PATCH] client context initialisation for Subversion 1.7

Alexander Mueller <[email protected]> Mon, 31 Jan 2011 22:28:04 +0100
Newsgroups gmane.comp.version-control.subversion.rapidsvn.devel
Message-ID <[email protected]>
Thanks a lot for the patch: applied  it with revision 8195.

Alex


Am 28.01.2011 21:08, schrieb Philip Martin:
> svn_client_ctx_t should be initialised using svn_client_create_context
> not memset.  This allows the code to work when newer libraries are used,
> either at build time or run time.  You will definitely need something
> like this if the code is going to work with the upcoming Subversion 1.7.
>
> * src/svncpp/context.cpp
>    (Context::Data): Make ctx a pointer.
>    (Context::Data::Data): Use svn_client_create_context.
>    (Context::Data::setAuthCache,
>     Context::Data::setLogin,
>     Context::operator svn_client_ctx_t *,
>     Context::ctx): Adjust for pointer.

------------------------------------------------------
http://rapidsvn.tigris.org/ds/viewMessage.do?dsForumId=668&dsMessageId=2701727

To unsubscribe from this discussion, e-mail: [[email protected]].