Revision a3eb250f996bf5e12376ec88622c4ccaabf20ea8 authored by Junio C Hamano on 10 July 2005, 22:40:43 UTC, committed by Linus Torvalds on 10 July 2005, 23:16:34 UTC
The location alt_odb[j].name[0..] is filled with ??/?{38} to form a sha1 filename to try, but I was too lazy to allocate a copy, so while fsck_object_dir() is running for the directory, the filenames ??/?{38} are filled after NUL (usually and always the location should have '/'), making them "not found". This should fix it. Signed-off-by: Linus Torvalds <torvalds@osdl.org>
1 parent cf21919
strbuf.h
#ifndef STRBUF_H
#define STRBUF_H
struct strbuf {
int alloc;
int len;
int eof;
char *buf;
};
extern void strbuf_init(struct strbuf *);
extern void read_line(struct strbuf *, FILE *, int);
#endif /* STRBUF_H */
Computing file changes ...