author | Junio C Hamano <junkio@cox.net> | |
Fri, 19 Jan 2007 08:39:32 +0000 (00:39 -0800) | ||
committer | Junio C Hamano <junkio@cox.net> | |
Fri, 19 Jan 2007 08:41:37 +0000 (00:41 -0800) | ||
commit | cb48cb585f3bed37467565ed35889726568a442d | |
tree | c0f54f5c6241566c92a7349403f8b5d4896795bf | tree | snapshot |
parent | 2266bf27b354a08522406eff916898b6300ddfa0 | commit | diff |
refs.c::read_ref_at(): fix bogus munmap() call.
The code uses mmap() to read reflog data, but moves the pointer around
while reading, and uses that updated pointer in the call to munmap().
Signed-off-by: Junio C Hamano <junkio@cox.net>
The code uses mmap() to read reflog data, but moves the pointer around
while reading, and uses that updated pointer in the call to munmap().
Signed-off-by: Junio C Hamano <junkio@cox.net>
refs.c | diff | blob | history |