You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@subversion.apache.org by st...@apache.org on 2012/05/03 09:18:03 UTC
svn commit: r1333328 - /subversion/trunk/subversion/libsvn_subr/hash.c
Author: stefan2
Date: Thu May 3 07:18:03 2012
New Revision: 1333328
URL: http://svn.apache.org/viewvc?rev=1333328&view=rev
Log:
No functional change.
* subversion/libsvn_subr/hash.c
remove used include; add docstrings
Modified:
subversion/trunk/subversion/libsvn_subr/hash.c
Modified: subversion/trunk/subversion/libsvn_subr/hash.c
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/libsvn_subr/hash.c?rev=1333328&r1=1333327&r2=1333328&view=diff
==============================================================================
--- subversion/trunk/subversion/libsvn_subr/hash.c (original)
+++ subversion/trunk/subversion/libsvn_subr/hash.c Thu May 3 07:18:03 2012
@@ -40,7 +40,6 @@
#include "svn_pools.h"
#include "private/svn_dep_compat.h"
-#include "private/svn_string_private.h"
#include "private/svn_hash_private.h"
#include "svn_private_config.h"
@@ -615,9 +614,13 @@ hashfunc_compatible(const char *char_key
return hash;
}
+/* Used to detect NUL chars
+ */
#define LOWER_7BITS_SET 0x7f7f7f7f
#define BIT_7_SET 0x80808080
+/* Read 4 bytes as little endian at P
+ */
#if SVN_UNALIGNED_ACCESS_IS_OK
# define READ_CHUNK(p)\
*(const apr_uint32_t *)(p);