From: Alon Ziv Date: Sun, 24 Dec 2006 19:30:01 GMT Subject: Re: [PATCH 2/7] Switch git_mmap to use pread. Message-ID: <1166988601.31444.3.camel@bruno.nolaviz.org> In-Reply-To: On Sun, 2006-12-24 at 14:09 +0100, 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. > Well, Win32 does have a pread()-like behavior in its generic ReadFile() system call (using a curiously-named "lpOverlapped" parameter). I would have expected Cygwin to use it, but unfortunately from the CVS sources it appears not to :( -az