Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
gitweb: Handle non UTF-8 text better
[gitweb.git]
/
pack-write.c
diff --git
a/pack-write.c
b/pack-write.c
index de72f44dc8ea5098b5824eb30b119a8508293226..ae2e481e5554cfa66cf137d38c38f961b9aa8ec7 100644
(file)
--- a/
pack-write.c
+++ b/
pack-write.c
@@
-25,7
+25,7
@@
void fixup_pack_header_footer(int pack_fd,
buf = xmalloc(buf_sz);
for (;;) {
- size_t n = xread(pack_fd, buf, buf_sz);
+ s
s
ize_t n = xread(pack_fd, buf, buf_sz);
if (!n)
break;
if (n < 0)