Rainer Jung <rjung@apache.org>


r1495063 | stsp | 2013-06-20 10:53:32 -0500 (Thu, 20 Jun 2013)

* subversion/libsvn_fs_fs/tree.c
  (cache_lookup): Calculate hash_value in an alternative way on
  strict-alignment architectures, such as Solaris/sparc. Wrap the current
  calculation in SVN_UNALIGNED_ACCESS_IS_OK to ensure that it is only
  used on platforms which support unaligned access.

Found by: Rainer Jung <rjung@apache.org>
Thanks to Sergey Raevskiy for spotting a bug in my initial patch.