[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: mmap test failing on cygwin
From: |
Noah Misch |
Subject: |
Re: mmap test failing on cygwin |
Date: |
Sun, 20 Mar 2005 21:08:51 -0800 |
User-agent: |
Mutt/1.5.5.1i |
On Sun, Mar 20, 2005 at 10:59:13PM +0100, a.rburgers wrote:
> the autoconf test for mmap is failing for cygwin,
> although there is a functional mmap available
> on that platform..
>
> This message gives a patch:
>
> http://lists.gnu.org/archive/html/autoconf-patches/2000-10/msg00241.html
Summary: AC_FUNC_MMAP rejects the Cygwin mmap because MAP_FIXED on a malloc'ed
region fails; rejecting it is bad because many programs that use mmap do not
need that to work. Nonetheless, changing AC_FUNC_MMAP to help that majority,
perhaps marginally, breaks programs relying on the check as it stands.
Reader survey: Do you know of a program other than GNU grep that depends on
AC_FUNC_MMAP to reject the mmap of some system as unsuitable? Put another way,
do you know of a program that would stop working on at least one system were you
to replace `AC_FUNC_MMAP' with `AC_CHECK_FUNC([mmap])'?