Re: [PATCH] Seek back to current filepos when mmap()ing with NO_MMAP

From: Alex Riesen <raa.lkml@gmail.com>
Date: 2006-11-16 06:06:01
On 11/15/06, Johannes Schindelin <Johannes.Schindelin@gmx.de> wrote:
>
> "git-index-pack --fix-thin" relies on mmap() not changing the current
> file position (otherwise the pack will be corrupted when writing the
> final SHA1). Meet that expectation.
>

Thanks! I was wondering for some considerable time why the
hell t5500-fetch-pack fails.

BTW, I extended error handling in that mmap.  Dunno why.

Signed-off-by: Alex Riesen <raa.lkml@gmail.com>

-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Received on Thu Nov 16 06:06:36 2006

This archive was generated by hypermail 2.1.8 : 2006-11-16 06:13:14 EST