[PATCH] Fix segfaults in the Python bindings caused by pool lifetime problems (1.3.x, Issue #2172)
From: David James <james82_at_gmail.com>
Date: 2005-09-30 09:00:08 CEST
[[[
Fix segfaults in the Python bindings caused by pool lifetime
Core changes:
* subversion/include/svn_delta.h
* subversion/include/svn_types.h
* subversion/include/svn_auth.h
* subversion/libsvn_subr/auth.c
* subversion/libsvn_subr/constructors.c
* subversion/libsvn_delta/delta.h
* subversion/libsvn_delta/text_delta.c
* subversion/libsvn_fs_base/reps-strings.c
SWIG/Python changes:
* build.conf
* subversion/bindings/swig/python/tests/repository.py: New.
* subversion/bindings/swig/python/tests/run_all.py
* subversion/bindings/swig/python/libsvn_swig_py/swigutil_py.c
(make_ob_status, make_ob_lock): Upgrade functions to reallocate provided
(convert_txdelta_window, svn_swig_py_convert_txdelta_window_hash,
(window_handler): Use make_ob_txdelta_window instead of make_ob_window.
(svn_swig_py_status_func): Use make_ob_wc_status instead of make_ob_status.
(svn_swig_py_auth_ssl_server_trust_prompt_func):
(svn_swig_py_fs_get_locks_func):
(svn_swig_py_log_receiver): Use svn_swig_py_convert_log_changed_path_hash,
Approved by: cmpilato
Review by: julianfoad
]]]
-- David James -- http://www.cs.toronto.edu/~james
---------------------------------------------------------------------
|
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.