From: Johannes Sixt Date: Sat, 11 Aug 2012 08:20:16 GMT Subject: Re: Porting git to HP NonStop Message-ID: <502615C0.1050406@kdbg.org> In-Reply-To: Am 10.08.2012 18:27, schrieb Shawn Pearce: > There is no need to define your own mmap(). Define NO_MMAP=1 in the > Makefile. Git already has its own fake mmap and knows how to write it > back to disk when making changes. Or better to say: the fake mmap has functionality that is sufficient for git. In particular, it does *not* write back changes to disk (it supports only MAP_PRIVATE), and the mapped area does not change if the file is changed by a third party. -- Hannes