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

Re: swig-pl trunk r16039: FAIL (x86_64-unknown-linux-gnu shared)

From: Kouhei Sutou <kou_at_cozmixng.org>
Date: 2005-09-04 16:26:55 CEST

Hi,

In <20050904075253.67C6E3407C@hal9000.jaa.iki.fi>
  "swig-pl trunk r16039: FAIL (x86_64-unknown-linux-gnu shared)" on Sun, 4 Sep 2005 01:52:53 -0600,
  svntest@jaa.iki.fi wrote:

> swig-pl: trunk r16039 on x86_64-unknown-linux-gnu shared

> /srv/svntest/svntest/svn/svn_trunk/subversion/bindings/swig/perl/native/t/5delta.....Type error in argument 2 of svn_txdelta_send_txstream. Expected _p_f_p_svn_txdelta_window_t_p_void__p_svn_error_t# Looks like you planned 2 tests but only ran 1.

This error is caused by the change in r16013.

[[[
% svn diff -r16012:16013 subversion/bindings/swig/include/svn_types.swg
Index: subversion/bindings/swig/include/svn_types.swg
===================================================================
--- subversion/bindings/swig/include/svn_types.swg (revision 16012)
+++ subversion/bindings/swig/include/svn_types.swg (revision 16013)
@@ -491,8 +491,14 @@
                           rb_str_new2(svn_md5_digest_to_cstring($1, _global_pool)));
 }

-/* svn_txdelta_send_stream() uses *digest not digest[] . */
-%apply unsigned char digest[ANY] { unsigned char *digest };
+/*
+ svn_txdelta_send_stream() uses *digest not digest[] .
+ svn_txdelta_apply() uses *result_digest not digest[] .
+*/
+%apply unsigned char digest[ANY] {
+ unsigned char *digest,
+ unsigned char *result_digest
+};

 /* -----------------------------------------------------------------------
   useful convertors for svn_opt_revision_t
]]]

This change changed SVN::TxDelta::apply API. Could someone
adjust the change? I can't do.

Thanks,

--
kou
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sun Sep 4 16:27:48 2005

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