subversion-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Daniel Shahaf <...@daniel.shahaf.name>
Subject Re: svn_repos_fs_commit_txn error
Date Wed, 25 Nov 2015 01:58:13 GMT
Philip Martin wrote on Tue, Nov 24, 2015 at 16:31:52 +0000:
> "Ren Wang" <renwang101@gmail.com> writes:
> 
> > After more google searching, I added the following line in the begin
> > of the program, it is working now:
> > apr_initialize();
> 
> A Subversion server process should call:
> 
>  apr_initialize()
>  svn_dso_initialize2()
>  svn_fs_initialize()
>  svn_cache_config_set()
> 

Is this documented on https://subversion.apache.org/docs/api/latest/ ?

I mean, "Is the list of thing a library user must call documented?", not
"Is each of those functions documented" (I know the latter is true).

> before starting to access repositories.  Subversion will attempt to
> initialize on-the-fly if these functions are not called.
> 

It seems this isn't true for apr_initialize(), APR docs state that
interface MUST be called, and have no graceful-degradation-if-not-
called clause.

Cheers,

daniel

> -- 
> Philip Martin
> WANdisco

Mime
View raw message