On Tue, 25 Oct 2005, Kalle Olavi Niemitalo wrote:
> > Can't we raise this checking up a level and make the ra_loader say:
> >
> > Version mismatch in 'ra_dav': found 1.2.0, expected 1.4.0-dev
>
> libsvn_ra/ra_loader.c (check_ra_version) attempts to check this.
> However, it gets the version number of the RA module from the
> vtable that the initialization function provides. If the
> initialization function fails because the RA module uses other
> libraries whose versions don't match, then libsvn_ra cannot
> access the vtable and doesn't know the version number of the RA
> module.
>
> (I don't quite understand the compatibility requirements there:
> if the versions of libsvn_ra and the RA module must match exactly,
> then what is the point in having compatibility initfunctions like
> svn_ra_dav_init?)
>
These functions were public, so they must be available. A program could
link directly to anRA module and expect that function to exist. Subversion
itself doesn't use that wrapper crap at all (I wrote it, so I call it what
I want:-)...
HOpe this clarifies,
//Peter
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Wed Oct 26 10:12:54 2005