Yank writing-back support from gitfakemmap.
authorJunio C Hamano <junkio@cox.net>
Sat, 8 Oct 2005 22:54:36 +0000 (15:54 -0700)
committerJunio C Hamano <junkio@cox.net>
Sat, 8 Oct 2005 22:54:36 +0000 (15:54 -0700)
commitf48000fcbe1009c18f1cc46e56cde2cb632071fa
tree1f0fe466ecfb4a026a5fdf1790576171b118fbf2
parent730d48a2ef88a7fb7aa4409d40b1e6964a93267f
Yank writing-back support from gitfakemmap.

We do not write through our use of mmap(), so make sure callers pass
MAP_PRIVATE and remove support for writing changes back.

Signed-off-by: Junio C Hamano <junkio@cox.net>
compat/mmap.c