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

Re: A possible RA plugin ABI problem

From: <kfogel_at_collab.net>
Date: 2004-01-13 16:20:50 CET

Tobias Ringstrom <tobias@ringstrom.mine.nu> writes:
> The RA plugin init function takes an ABI version as it's first
> parameter to be able to verify that the caller's ABI version matches
> the plugin. The problem is that it is defined to return an svn_error_t
> pointer when the ABI does not match.
> If the new ABI would change the type of svn_error_t, the caller would
> most likely crash if it tried to show the error to the user.

If svn_error_t had to change, we would most likely add new fields on
the end, so it would still be binary compatible with old code.

So there is a problem here in some sense, yeah, but it seems quite
unlikely to cause trouble in practice, and IMHO is not worth worrying
about... ?


To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Tue Jan 13 17:15:46 2004

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.