do {
ssize_t n = (len < 64*1024) ? len : 64*1024;
- n = pread(get_thread_data()->pack_fd, inbuf, n, from);
- n = xpread(pack_fd, inbuf, n, from);
++ n = xpread(get_thread_data()->pack_fd, inbuf, n, from);
if (n < 0)
die_errno(_("cannot pread pack file"));
if (!n)
struct cache_time timestamp;
unsigned name_hash_initialized : 1,
initialized : 1;
- struct hash_table name_hash;
- struct hash_table dir_hash;
+ struct hashmap name_hash;
+ struct hashmap dir_hash;
+ unsigned char sha1[20];
};
extern struct index_state the_index;