From: Linus Torvalds Date: Sun, 24 Dec 2006 20:14:52 GMT Subject: Re: [PATCH 2/7] Switch git_mmap to use pread. Message-ID: In-Reply-To: On Sun, 24 Dec 2006, Johannes Schindelin wrote: > > I don't think it matters much. The _only_ platform we really use NO_MMAP > (other than for testing) is Windows, and AFAICT it does not have pread(), > so it is emulated by lseek/read/lseek anyway. Windows definitely has pread(). It is, of course, possible that Cygwin emulates it some other way (including doing a "lseek/read/lseek" combination), but pread() should still be better - because maybe some future cygwin release ends up using the native interfaces. Linus