Hi, On Mon, 17 Jul 2006, Linus Torvalds wrote: > On Mon, 17 Jul 2006, Johannes Schindelin wrote: > > > > But note that we usually use the whole contents of the mmap()ed file > > anyway. > > Not for pack-files, though. You may have a half-gigabyte pack-file, and > only use a small small fraction of it. Right. > (You also never really rename them, so windows should be fine for that > case) 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. Ciao, Dscho - : send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html