Red Hat Bugzilla – Bug 151798
PATCH: Fix bug in the new SWIG 1.3.24 support.
Last modified: 2007-11-30 17:11:02 EST
Additional development since bug 141343:
We have discovered a small bug in the Subversion SWIG 1.3.24 support.
Here is a patch.
This patch, and the one from bug 141343 will be included in Subversion 1.1.4,
which will hopefully be released very soon.
Fix Python bindings bug that manifested only with SWIG 1.3.24
and threaded APR. Anything using a log_receiver callback would fail.
--- subversion/bindings/swig/python/libsvn_swig_py/swigutil_py.c (original)
+++ subversion/bindings/swig/python/libsvn_swig_py/swigutil_py.c Sun Mar 20
@@ -1267,7 +1267,6 @@
PyObject *receiver = baton;
- swig_type_info *tinfo = SWIG_TypeQuery("svn_log_changed_path_t *");
svn_error_t *err = SVN_NO_ERROR;
@@ -1278,6 +1277,7 @@
+ swig_type_info *tinfo = SWIG_TypeQuery("svn_log_changed_path_t *");
chpaths = svn_swig_py_convert_hash (changed_paths, tinfo);