Roderich Schupp <roderich.sch...@gmail.com> writes: >> Since this definition is in include/mod_authz_svn.h (i.e. it's a public >> interface) > > Perhaps one should also bump #define AUTHZ_SVN__SUBREQ_BYPASS_PROV_VER > in include/mod_authz_svn.h > > Cheers, Roderich > > --- subversion-1.7.5.orig/subversion/include/mod_authz_svn.h 2009-11-16 > 20:07:17.000000000 +0100 > +++ subversion-1.7.5/subversion/include/mod_authz_svn.h 2012-09-19 > 10:48:27.662049000 +0200 > @@ -41,7 +41,8 @@ > #define AUTHZ_SVN__SUBREQ_BYPASS_PROV_VER "00.00a" > typedef int (*authz_svn__subreq_bypass_func_t)(request_rec *r, > const char *repos_path, > - const char *repos_name); > + const char *repos_name, > + apr_pool_t *pool); > > #ifdef __cplusplus > }
I'm not sure what our policy is here. I think we do have to bump AUTHZ_SVN__SUBREQ_BYPASS_PROV_VER but I don't know whether we would have to provide the both the old and new interfaces in parallel. I suppose it is possible to provide the old interface and implement it by calling the new interface and passing r->pool. The pool parameter should probably be called scratch_pool to indicate that it will not persist. -- Certified & Supported Apache Subversion Downloads: http://www.wandisco.com/subversion/download