summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 071fa89)
raw | patch | inline | side by side (parent: 071fa89)
author | Johannes Schindelin <Johannes.Schindelin@gmx.de> | |
Tue, 29 Aug 2006 10:50:29 +0000 (12:50 +0200) | ||
committer | Junio C Hamano <junkio@cox.net> | |
Tue, 29 Aug 2006 21:26:04 +0000 (14:26 -0700) |
Signed-off-by: Johannes Schindelin <Johannes.Schindelin@gmx.de>
Signed-off-by: Junio C Hamano <junkio@cox.net>
Signed-off-by: Junio C Hamano <junkio@cox.net>
builtin-unpack-objects.c | patch | blob | history |
index ca0ebc258563f2ea2aec94eed2de31799f3f16cc..0c180b53a32dc316bcbc614caee84eda109c5a59 100644 (file)
--- a/builtin-unpack-objects.c
+++ b/builtin-unpack-objects.c
/* We always read in 4kB chunks. */
static unsigned char buffer[4096];
-static unsigned long offset, len, eof;
+static unsigned long offset, len;
static SHA_CTX ctx;
/*
{
if (min <= len)
return buffer + offset;
- if (eof)
- die("unable to fill input");
if (min > sizeof(buffer))
die("cannot fill %d bytes", min);
if (offset) {