Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/libgit2.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Young <chris@unsatisfactorysoftware.co.uk>2012-06-10 21:08:15 +0400
committerChris Young <chris@unsatisfactorysoftware.co.uk>2012-06-10 21:08:15 +0400
commit90490113af9cef092b36c5ee0231c11675ed9f51 (patch)
tree60d2befe60fa8b6172da9eee7a1d9702a612468e /src/pack.c
parentc9f79972baefb00e3c86a96e7a448c124bde7693 (diff)
Basic mmap/munmap compatiblity
Diffstat (limited to 'src/pack.c')
-rw-r--r--src/pack.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/pack.c b/src/pack.c
index 0db1069de..85bc6707e 100644
--- a/src/pack.c
+++ b/src/pack.c
@@ -215,7 +215,7 @@ static int packfile_unpack_header1(
unsigned shift;
unsigned long size, c;
unsigned long used = 0;
-
+printf("[pack 218] buf = %lx, used = %ld, len = %ld\n", buf, used, len);
c = buf[used++];
*type = (c >> 4) & 7;
size = c & 15;
@@ -261,7 +261,7 @@ int git_packfile_unpack_header(
base = git_mwindow_open(mwf, w_curs, *curpos, 20, &left);
if (base == NULL)
return GIT_EBUFS;
-
+printf("[pack 264] base = %lx, mwf = %lx\n", base, mwf);
ret = packfile_unpack_header1(&used, size_p, type_p, base, left);
git_mwindow_close(w_curs);
if (ret == GIT_EBUFS)