1
------------------------------------------------------------------------
2
r12102 | breser | 2004-11-30 20:25:28 -0800 (Tue, 30 Nov 2004) | 19 lines
4
Resolve a slight ABI/API incompatability between 1.0.x and 1.1.x.
6
We added a svn_config__enumerate_sections function in 1.0.9 but then
7
renamed it in 1.1.0. This means that 1.0.x Apache modules will not
8
run against 1.1.x libraries. This probably isn't terribly desireable
9
but also isn't technically supposed to be disallowed.
11
This is listed in Debian's bug database:
12
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=275545
14
* subversion/libsvn_subr/config.c
15
(svn_config__enumerate_sections): Add wrapper that calls the new public name.
17
* subversion/libsvn_subr/config_impl.h
18
(svn_config__section_enumerator_t): Callback type for source compatability
20
(svn_config__enumerate_sections): Wrapper for 1.0.x source compatability.
23
------------------------------------------------------------------------
25
Index: subversion-1.1.1/subversion/libsvn_subr/config.c
26
===================================================================
27
--- subversion-1.1.1.orig/subversion/libsvn_subr/config.c 2004-07-08 12:31:19.000000000 -0700
28
+++ subversion-1.1.1/subversion/libsvn_subr/config.c 2004-12-10 21:12:26.982527366 -0800
33
+svn_config__enumerate_sections (svn_config_t *cfg,
34
+ svn_config__section_enumerator_t callback,
37
+ return svn_config_enumerate_sections (cfg,
38
+ (svn_config_section_enumerator_t) callback, baton);
42
svn_config_enumerate_sections (svn_config_t *cfg,
43
svn_config_section_enumerator_t callback,
45
Index: subversion-1.1.1/subversion/libsvn_subr/config_impl.h
46
===================================================================
47
--- subversion-1.1.1.orig/subversion/libsvn_subr/config_impl.h 2003-12-19 15:43:18.000000000 -0800
48
+++ subversion-1.1.1/subversion/libsvn_subr/config_impl.h 2004-12-10 21:12:26.994527197 -0800
54
+/* Stubs for allowing 1.0.x Apache modules to be mixed with 1.1.x libraries. */
55
+typedef svn_boolean_t (*svn_config__section_enumerator_t)
56
+ (const char *name, void *baton);
58
+int svn_config__enumerate_sections (svn_config_t *cfg,
59
+ svn_config__section_enumerator_t callback,
64
#endif /* __cplusplus */