Shivani Poddar <shivani.podda...@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 zero. -- Certified & Supported Apache Subversion Downloads: http://www.wandisco.com/subversion/download