Andrew's git
/
gitweb.git
/ diff
summary
|
log
|
commit
| diff |
tree
commit
grep
author
committer
pickaxe
?
re
Merge branch 'maint'
author
Junio C Hamano
<gitster@pobox.com>
Mon, 28 Dec 2009 06:59:55 +0000
(22:59 -0800)
committer
Junio C Hamano
<gitster@pobox.com>
Mon, 28 Dec 2009 06:59:55 +0000
(22:59 -0800)
* maint:
read_index(): fix reading extension size on BE 64-bit archs
read-cache.c
patch
|
blob
|
history
raw
(from parent 1:
1d85dd6
)
diff --git
a/read-cache.c
b/read-cache.c
index 1bbaf1cffba3058667787fc4a267b87e21a6cad3..9033dd3ab938e2ee7b4248ff97645414ee3688db 100644
(file)
--- a/
read-cache.c
+++ b/
read-cache.c
@@
-1322,7
+1322,7
@@
int read_index_from(struct index_state *istate, const char *path)
* extension name (4-byte) and section length
* in 4-byte network byte order.
*/
- u
nsigned long
extsize;
+ u
int32_t
extsize;
memcpy(&extsize, (char *)mmap + src_offset + 4, 4);
extsize = ntohl(extsize);
if (read_index_extension(istate,