1
0
mirror of https://github.com/git/git.git synced 2024-09-28 15:01:31 +02:00
git/ewah
Vicent Marti a201c20b41 ewah: support platforms that require aligned reads
The caller may hand us an unaligned buffer (e.g., because it
is an mmap of a file with many ewah bitmaps). On some
platforms (like SPARC) this can cause a bus error. We can
fix it with a combination of get_be32 and moving the data
into an aligned buffer (which we would do anyway, but we can
move it before fixing the endianness).

Signed-off-by: Vicent Marti <tanoku@gmail.com>
Signed-off-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
2014-01-23 14:05:05 -08:00
..
bitmap.c
ewah_bitmap.c
ewah_io.c ewah: support platforms that require aligned reads 2014-01-23 14:05:05 -08:00
ewah_rlw.c
ewok_rlw.h
ewok.h