]> git.saurik.com Git - redis.git/commit
Fix crash on SPARC due to improper alignment of allocated memory
authorChris Lamb <lamby@debian.org>
Wed, 16 Nov 2011 17:21:16 +0000 (17:21 +0000)
committerChris Lamb <lamby@debian.org>
Wed, 16 Nov 2011 17:21:16 +0000 (17:21 +0000)
commit5ae979bf5798f5eaab56636034623d25bc70a941
tree2c8bc6f4a6e0b0ea53caeb6ec3406d43a6535307
parent42c6a5da3d4738597217494198f4d3ba9be1113d
Fix crash on SPARC due to improper alignment of allocated memory

I believe that you should be able to drop 'defined(__sun)' completely
from this clause, as Solaris on x86 hardware probably does not have
strict alignment requirements, but I don't have a way to test that.

Thanks to Jurij Smakov <jurij@wooyd.org>.

Signed-off-by: Chris Lamb <lamby@debian.org>
src/zmalloc.c