X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=csum-file.h;h=1af76562f31da89e4cd2592079edb9c6a45736e3;hb=4698ef555a1706fe322a68a02a21fb1087940ac3;hp=a38cc3a2d725adbf44d9965ce911d2a19d79074e;hpb=218558af599c01e5dec17a7399d9188a76c50203;p=git.git diff --git a/csum-file.h b/csum-file.h index a38cc3a2d..1af76562f 100644 --- a/csum-file.h +++ b/csum-file.h @@ -5,12 +5,12 @@ struct progress; /* A SHA1-protected file */ struct sha1file { - int fd, error; - unsigned int offset, namelen; + int fd; + unsigned int offset; SHA_CTX ctx; off_t total; struct progress *tp; - char name[PATH_MAX]; + const char *name; int do_crc; uint32_t crc32; unsigned char buffer[8192];