Author: stefan2
Date: Thu Dec 2 00:38:17 2010
New Revision: 1041230
URL: http://svn.apache.org/viewvc?rev=1041230&view=rev
Log:
Fix the svn_checksum_to_cstring() docstring to actually say what
was intended. Also, make clear that the behavior is new for 1.7 and
trying to use it in 1.6 will cause segfaults.
* subversion/include/svn_checksum.h
(svn_checksum_to_cstring): fix docstring
Modified:
subversion/trunk/subversion/include/svn_checksum.h
Modified: subversion/trunk/subversion/include/svn_checksum.h
URL:
http://svn.apache.org/viewvc/subversion/trunk/subversion/include/svn_checksum.h?rev=1041230&r1=1041229&r2=1041230&view=diff
==============================================================================
--- subversion/trunk/subversion/include/svn_checksum.h (original)
+++ subversion/trunk/subversion/include/svn_checksum.h Thu Dec 2 00:38:17 2010
@@ -121,9 +121,11 @@ svn_checksum_to_cstring_display(const sv
/** Return the hex representation of @a checksum, allocating the
* string in @a pool. If @a checksum->digest is all zeros (that is,
- * 0, not '0') or NULL, then return NULL.
+ * 0, not '0') then return NULL. In 1.7+, @a checksum may be NULL
+ * and NULL will be returned in that case.
*
* @since New in 1.6.
+ * @note Passing NULL for @a checksum in 1.6 will cause a segfault.
*/
const char *
svn_checksum_to_cstring(const svn_checksum_t *checksum,