Re: comparing file contents in is_exact_match?
- From
Linus Torvalds <torvalds@osdl.org>
- Date
- Jul 17, 2006, 17:56 UTC
- Message-ID
- <Pine.LNX.4.64.0607171055230.15611@evo.osdl.org>
- In-Reply-To
- <Pine.LNX.4.63.0607171804030.29667@wbgn013.biozentrum.uni-wuerzburg.de>
On Mon, 17 Jul 2006, Johannes Schindelin wrote:
> > So we could introduce a second mmap() which is normally the same as > mmap(), except for windows, where it is a rename() and unlink() safe > version of mmap() by reading the thing into RAM. Not very pretty.
Well, not too ugly either.
Imagine having a "map_packfile()" interface, and letting different targets just implement their own version. That doesn't sound too bad, does it?
Linus