Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
git-branch: show detached HEAD
[gitweb.git]
/
refs.c
diff --git
a/refs.c
b/refs.c
index f76b4fe20dea81f99b330103ce9d05cc6364c96c..52057455a20cb4641005c9248b5499cca83c77c1 100644
(file)
--- a/
refs.c
+++ b/
refs.c
@@
-1025,7
+1025,7
@@
int read_ref_at(const char *ref, unsigned long at_time, int cnt, unsigned char *
fstat(logfd, &st);
if (!st.st_size)
die("Log %s is empty.", logfile);
- logdata = mmap(NULL, st.st_size, PROT_READ, MAP_PRIVATE, logfd, 0);
+ logdata =
x
mmap(NULL, st.st_size, PROT_READ, MAP_PRIVATE, logfd, 0);
close(logfd);
lastrec = NULL;