author | Nathaniel W Filardo <nwf@cs.jhu.edu> | |
Sun, 27 Dec 2009 06:11:21 +0000 (01:11 -0500) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Sun, 27 Dec 2009 18:41:48 +0000 (10:41 -0800) | ||
commit | 07cc8ecac0313c571cb9838585b376df86c80563 | |
tree | a76397a13d474ba21541ee11cfc3351887f77286 | tree | snapshot |
parent | 7a51ed66f653c248993b3c4a61932e47933d835e | commit | diff |
read_index(): fix reading extension size on BE 64-bit archs
On big endian platforms with 8-byte unsigned long, the code reads the
size of the index extension section (which is a 4-byte network byte
order integer) incorrectly.
Signed-off-by: Junio C Hamano <gitster@pobox.com>
On big endian platforms with 8-byte unsigned long, the code reads the
size of the index extension section (which is a 4-byte network byte
order integer) incorrectly.
Signed-off-by: Junio C Hamano <gitster@pobox.com>
read-cache.c | diff | blob | history |