Merge branch 'jn/block-sha1'
authorJunio C Hamano <gitster@pobox.com>
Tue, 24 Jul 2012 03:56:46 +0000 (20:56 -0700)
committerJunio C Hamano <gitster@pobox.com>
Tue, 24 Jul 2012 03:56:47 +0000 (20:56 -0700)
The code to load a word one-byte-at-a-time was optimized into a
word-wide load instruction even when the pointer was not aligned,
which caused issues on architectures that do not like unaligned
access.

* jn/block-sha1:
Makefile: BLK_SHA1 does not require fast htonl() and unaligned loads
block-sha1: put expanded macro parameters in parentheses
block-sha1: avoid pointer conversion that violates alignment constraints

1  2 
Makefile
block-sha1/sha1.c
diff --cc Makefile
Simple merge
Simple merge