Re: [PATCH 1/4] autoconf: Check for working mmap
- From
Jakub Narebski <jnareb@gmail.com>
- Date
- Aug 4, 2006, 19:02 UTC
- Message-ID
- <eb05i7$3d6$1@sea.gmane.org>
- In-Reply-To
- <7vodv0jpo1.fsf@assigned-by-dhcp.cox.net>
Junio C Hamano wrote:
Show 8 quoted lines
> Jakub Narebski <jnareb@gmail.com> writes: > >> Use AC_FUNC_MMAP check to check if the `mmap' function exists and >> works correctly. (It only checks private fixed mapping of >> already-mapped memory.) > > This tests something we do not really care about (we do not > mmap MAP_FIXED, and not over an already allocated space).
Well, I have noticed that there exist AC_FUNC_MMAP, used it, then read about its limitations.
Is there any platform that passes this test, but needs NO_MMAP? If so, then disregard this patch.
-- Jakub Narebski Warsaw, Poland ShadeHawk on #git