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

[PATCH] python bindings bugfix for svn_repos_get_logs (resend, issue 1387)

From: Russell Yanofsky <rey4_at_columbia.edu>
Date: 2003-07-25 16:38:48 CEST

This is a trivial 3-line fix for the python bindings. Several ViewCVS users have
reported errors caused by this bug:


And one user who applied the patch himself confirmed that it fixed the problem:


Can someone commit this?

- Russ

Log Message:

Bugfix for the python bindings. svn_repos_get_logs() causes a crash
when its "discover_changed_paths" argument is nonzero because the
thunk, svn_swig_py_thunk_log_receiver(), that forwards to a user
defined python callback function is unable to find a swig type
corresponding to the svn_log_changed_path_t structs that it has to
pass to the callback.

* subversion/bindings/swig/swigutil_py.c
  (svn_swig_py_thunk_log_receiver): changed argument to
  SWIG_TypeQuery for "svn_log_changed_path_t" type

* subversion/bindings/swig/core.i: exposed "svn_log_changed_path_t"

To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org

Received on Fri Jul 25 16:40:20 2003

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.