git/list[1] front-page[2] threads[3] people[4] search[5] about
 

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
Previous: Junio C HamanoNext: Jakub Narebski
Message 5 of 14 in “What's in git.git”
  1. Junio C HamanoAug 4, 2006
  2. Jakub NarebskiAug 4, 2006
  3. 1/4 autoconf: Check for working mmapJakub Narebski, Aug 4, 2006
  4. Junio C HamanoAug 4, 2006
  5. Jakub NarebskiAug 4, 2006
  6. 2/4 autoconf: Check for ll hh j z t size specifiers introduced by C99Jakub Narebski, Aug 4, 2006
  7. 3/4 autoconf: Typo cleanup, reordering etc.Jakub Narebski, Aug 4, 2006
  8. 4/4 Copy description of new build configuration variables to configure.acJakub Narebski, Aug 4, 2006
  9. Johannes SchindelinAug 4, 2006
  10. Jakub NarebskiAug 4, 2006
  11. Junio C HamanoAug 4, 2006
  12. Junio C HamanoAug 4, 2006
  13. Junio C HamanoAug 4, 2006
  14. Jakub NarebskiAug 4, 2006

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.