Rainer Jung <rainer.jung@kippdata.de>

r1694533, r1495063

r1495063 | stsp | 2013-06-20 15:53:32 +0000 (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.

r1694533 | stefan2 | 2015-08-06 16:10:39 +0000 (Thu, 06 Aug 2015)

[reverted in r1694533]
Fix an alignment problem on machines with 32 bit pointers but atomic 64
data access that may not be misaligned.

* subversion/libsvn_ra_svn/marshal.c
  (read_item): Ensure that the array contents are always have the APR
               default alignment.

Found by: Rainer Jung <rainer.jung{_AT_}kippdata.de>