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

RE: svn commit: r1811786 - /subversion/trunk/subversion/bindings/swig/include/svn_types.swg

From: Bert Huijben <bert_at_qqmail.nl>
Date: Mon, 23 Oct 2017 12:28:01 +0200

> -----Original Message-----
> From: jamessan_at_apache.org [mailto:jamessan_at_apache.org]
> Sent: woensdag 11 oktober 2017 05:08
> To: commits_at_subversion.apache.org
> Subject: svn commit: r1811786 -
> /subversion/trunk/subversion/bindings/swig/include/svn_types.swg
>
> Author: jamessan
> Date: Wed Oct 11 03:08:19 2017
> New Revision: 1811786
>
> URL: http://svn.apache.org/viewvc?rev=1811786&view=rev
> Log:
> * subversion/bindings/swig/include/svn_types.swg:
> (unsigned char digest typemap): When svn_md5_digest_to_cstring()
> returns NULL,
> pass an empty string to rb_str_new2().

This problem is so common we even have a special svn_md5_digest_to_cstring_display() function for this case that explicitly avoids returning NULL. You might want to switch to that version to document the requested behavior.

(Found via the branch update from brane)

        Bert
Received on 2017-10-23 12:28:05 CEST

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