[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:

  http://subversion.tigris.org/servlets/ReadMsg?list=dev&msgId=270792
  http://mailman.lyra.org/pipermail/viewcvs/2003q3/002073.html
  http://mailman.lyra.org/pipermail/viewcvs-dev/2003-July/001082.html

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

  http://mailman.lyra.org/pipermail/viewcvs/2003q3/002082.html

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"
  type

---------------------------------------------------------------------
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.