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

Re: [PATCH] Adding tests for some function in svn_checksum.h in SWIG bindings for python

From: Philip Martin <philip.martin_at_wandisco.com>
Date: Tue, 19 Mar 2013 16:54:14 +0000

Shivani Poddar <shivani.poddar92_at_gmail.com> writes:

> Unless I don't assign the kind and digest some value for the object I
> declare here , calling svn_checksum_clear() on it will give me a
> segmentation fault , could you please elaborate more as to why should I
> have to call svn_checksum_clear() before assigning the digest any value??

I don't know much about the implementation of python bindings but
calling svn_checksum_clear sound like a bug.

At the C API level it's not necessary to call svn_checksum_clear, both
svn_checksum_clear and svn_checksum_create set the binary digest to

Certified & Supported Apache Subversion Downloads:
Received on 2013-03-19 17:55:02 CET

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.