Author: danielsh
Date: Fri Jul 15 06:57:17 2011
New Revision: 1146981

URL: http://svn.apache.org/viewvc?rev=1146981&view=rev
Log:
Revert r1146214 and r1146381, following dev@/STATUS suggestions.

Modified:
    subversion/trunk/subversion/include/svn_checksum.h
    subversion/trunk/subversion/libsvn_subr/checksum.c

Modified: subversion/trunk/subversion/include/svn_checksum.h
URL: 
http://svn.apache.org/viewvc/subversion/trunk/subversion/include/svn_checksum.h?rev=1146981&r1=1146980&r2=1146981&view=diff
==============================================================================
--- subversion/trunk/subversion/include/svn_checksum.h (original)
+++ subversion/trunk/subversion/include/svn_checksum.h Fri Jul 15 06:57:17 2011
@@ -110,11 +110,9 @@ svn_checksum_dup(const svn_checksum_t *c
 
 
 /** Return the hex representation of @a checksum, allocating the string
- * in @a pool.  In 1.8+, @a checksum may be NULL
- * and NULL will be returned in that case.
+ * in @a pool.
  *
  * @since New in 1.6.
- * @note Passing NULL for @a checksum in 1.6/1.7 will cause a segfault.
  */
 const char *
 svn_checksum_to_cstring_display(const svn_checksum_t *checksum,

Modified: subversion/trunk/subversion/libsvn_subr/checksum.c
URL: 
http://svn.apache.org/viewvc/subversion/trunk/subversion/libsvn_subr/checksum.c?rev=1146981&r1=1146980&r2=1146981&view=diff
==============================================================================
--- subversion/trunk/subversion/libsvn_subr/checksum.c (original)
+++ subversion/trunk/subversion/libsvn_subr/checksum.c Fri Jul 15 06:57:17 2011
@@ -121,9 +121,6 @@ const char *
 svn_checksum_to_cstring_display(const svn_checksum_t *checksum,
                                 apr_pool_t *pool)
 {
-  if (checksum == NULL)
-    return NULL;
-
   switch (checksum->kind)
     {
       case svn_checksum_md5:


Reply via email to