Re: Porting git to HP NonStop
- From
Johannes Sixt <j6t@kdbg.org>
- Date
- Aug 11, 2012, 08:20 UTC
- Message-ID
- <502615C0.1050406@kdbg.org>
- In-Reply-To
- <CAJo=hJvwih+aOMg6SKP94_1q-az1XV-1Pcf=_fGbvdDcDpC23A@mail.gmail.com>
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