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

Re: svn_repos_fs_commit_txn error

From: Daniel Shahaf <d.s_at_daniel.shahaf.name>
Date: Wed, 25 Nov 2015 01:58:13 +0000

Philip Martin wrote on Tue, Nov 24, 2015 at 16:31:52 +0000:
> "Ren Wang" <renwang101_at_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
Received on 2015-11-25 02:58:35 CET

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.