On Tue, Feb 5, 2019, at 10:42 AM, Emery Hemingway wrote: > > Libgit2 *is not* portable. They use mmap everywhere for I/O, which breaks > for 9P or NFS.
I'm pretty sure I once figured out how to emulate mmap, at least in a general way. Maybe it was relying on the process to call the flush routine. Flushing could also happen on a timer or atexit or whatever.