bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [bug-gnulib] Re: mmapping of /dev/zero always fails on darwin


From: Peter O'Gorman
Subject: Re: [bug-gnulib] Re: mmapping of /dev/zero always fails on darwin
Date: Tue, 13 Sep 2005 22:33:12 +0900
User-agent: Mozilla Thunderbird 1.0.2 (Macintosh/20050317)

Bruno Haible wrote:
Are you sure that this is what gnulib does? Darwin's <sys/mman.h> defines
MAP_ANON, then gnulib's m4/mmap-anon.m4 macro ought to add
  #define MAP_ANONYMOUS MAP_ANON
  #define HAVE_MAP_ANONYMOUS 1
to config.h, and then lib/pagealign_alloc.c should be doing

  mmap (NULL, 4096, PROT_READ | PROT_WRITE, MAP_ANON | MAP_PRIVATE, -1, 0);

Is pagealign_alloc.c doing this or not?

Ah ha!

Looks like the cvs folks need to update their gnulib.

<http://savannah.gnu.org/cgi-bin/viewcvs/gnulib/gnulib/m4/mmap-anon.m4.diff?r1=1.4&r2=1.5>

Sorry for the noise,
Peter





reply via email to

[Prev in Thread] Current Thread [Next in Thread]