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

[PATCH] Add necessary copy constructors to libsvn_subr, libsvn_delta (1.3.x, Issue #2172)

From: David James <james82_at_gmail.com>
Date: 2005-09-28 19:09:57 CEST

[[[

Create copy constructors for svn_txdelta_window_t,
svn_log_changed_path_t, and svn_auth_ssl_server_cert_info_t.
(These copy constructors are needed to solve the segfaults
 in the Python bindings caused by issue 2172.)

* subversion/include/svn_delta.h
  (svn_txdelta_window_dup): New function.
* subversion/include/svn_types.h
  (svn_log_changed_path_dup): New function.
* subversion/include/svn_auth.h
  (svn_auth_ssl_server_cert_info_dup): New function.
* subversion/libsvn_subr/constructors.c
  (svn_log_changed_path_dup,
  svn_auth_ssl_server_cert_info_dup): New functions.
* subversion/libsvn_delta/delta.h
  (svn_txdelta__copy_window): Remove function.
* subversion/libsvn_delta/text_delta.c
  (svn_txdelta__copy_window): Rename function to svn_txdelta_window_dup.
* subversion/bindings/libsvn_fs_base
  (compose_handler): Use svn_txdelta_window_dup instead of
  svn_txdelta__copy_window.

]]]

--
David James -- http://www.cs.toronto.edu/~james


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

Received on Wed Sep 28 19:11:19 2005

This is an archived mail posted to the Subversion Dev mailing list.