From: Linus Torvalds Date: Mon, 17 Jul 2006 17:56:04 GMT Subject: Re: comparing file contents in is_exact_match? Message-ID: In-Reply-To: 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