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
_______________________________________________
bug-gnulib mailing list
bug-gnulib@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-gnulib