Code

read_index(): fix reading extension size on BE 64-bit archs
authorNathaniel W Filardo <nwf@cs.jhu.edu>
Sun, 27 Dec 2009 06:11:21 +0000 (01:11 -0500)
committerJunio C Hamano <gitster@pobox.com>
Sun, 27 Dec 2009 18:41:48 +0000 (10:41 -0800)
commit07cc8ecac0313c571cb9838585b376df86c80563
treea76397a13d474ba21541ee11cfc3351887f77286
parent7a51ed66f653c248993b3c4a61932e47933d835e
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>
read-cache.c