From: Alex Riesen Date: Fri, 07 Oct 2005 23:57:35 GMT Subject: Re: [PATCH] If NO_MMAP is defined, fake mmap() and munmap() Message-ID: <20051007235735.GB14827@steel.home> In-Reply-To: <7vwtkoyjs9.fsf@assigned-by-dhcp.cox.net> Junio C Hamano, Sat, Oct 08, 2005 01:44:22 +0200: > > Since some platforms do not support mmap() at all, and others do only just > > so, this patch introduces the option to fake mmap() and munmap() by > > malloc()ing and read()ing explicitely. > > I guess I can just drop Alex Riesen patch and any other recent > patches that try to work around mmap(). Happy! > Me too. I was just about to make a read_cache read the whole index in (absolutely the same as Johannes, but not that elegant). The platform(s) deserve such a treatment :)