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

[PATCH] Multiple RA layer initialization

From: Justin Erenkrantz <justin_at_erenkrantz.com>
Date: 2006-02-07 01:41:45 CET

In my work with ra_serf, I've come across the problem that we really
can't have multiple RA layers declare for the same scheme gracefully.
The current RA implementation will treat a NULL init value to be 'load
this as a DSO' - if the DSO load fails, then it will never try another
RA layer. load_ra_module returns a fatal error - on my machine it
figures out the library isn't there only in apr_dso_sym not in
apr_dso_load.

I'm not quite sure if it should be even trying the DSO load at all or
should it try other ra_libraries instead?

My first thought is that it shouldn't try at all. So, I'm using this
patch which moves the conditionals to encompass the entire scheme
definition - this way, it'll never 'see' ra_dav, but will try to load
ra_serf.

Thoughts? -- justin

* subversion/libsvn_ra/ra_loader.c
  (ra_libraries): Make #ifdef around entire scheme rather than just
the init function

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org

Received on Tue Feb 7 01:42:02 2006

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.