summaryrefslogtreecommitdiff
path: root/t/t5100-mailinfo.sh
diff options
context:
space:
mode:
authorRené Scharfe <rene.scharfe@lsrfire.ath.cx>2012-05-22 22:36:57 +0200
committerJunio C Hamano <gitster@pobox.com>2012-05-23 09:10:17 -0700
commit8072766cc6756e9218ea7c9433b097b696329407 (patch)
tree03da9315a3f6759bdd7df50163bc765013aca190 /t/t5100-mailinfo.sh
parent7e356a979459092d10450e66d8512381e89c2570 (diff)
downloadgit-8072766cc6756e9218ea7c9433b097b696329407.tar.gz
xdiff: import new 32-bit version of count_masked_bytes()
Import the latest 32-bit implementation of count_masked_bytes() from Linux (arch/x86/include/asm/word-at-a-time.h). It's shorter and avoids overflows and negative numbers. This fixes test failures on 32-bit, where negative partial results had been shifted right using the "wrong" method (logical shift right instead of arithmetic short right). The compiler is free to chose the method, so it was only wrong in the sense that it didn't work as intended by us. Reported-by: Øyvind A. Holm <sunny@sunbase.org> Signed-off-by: Rene Scharfe <rene.scharfe@lsrfire.ath.cx> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t5100-mailinfo.sh')
0 files changed, 0 insertions, 0 deletions