* 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.
* 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.


git-svn-id: f8a4e5e023278da1e04e203c7fe051e3c4285d88@1495063 13f79535-47bb-0310-9956-ffa450edef68

YueLinHo/Subversion,YueLinHo/Subversion,YueLinHo/Subversion,YueLinHo/Subversion,YueLinHo/Subversion,YueLinHo/Subversion,YueLinHo/Subversion,YueLinHo/Subversion