This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: 1.7] BUG - GREP slows to a crawl with large number of matches on a single file
On Sun, Nov 08, 2009 at 12:27:29PM -0600, Yaakov (Cygwin/X) wrote:
>On 08/11/2009 07:56, Corinna Vinschen wrote:
>> Btw., the check for mmap in grep's configure file is broken. It tries
>> to mmap to a fixed address formerly allocated via malloc(). This doesn't
>> work on Windows. An autoconf run with a newer version of autoconf would
>> be nice.
>
>You said the same thing over five years ago: :-)
>
>http://www.cygwin.com/ml/cygwin/2004-09/msg00753.html
>
>AFAIK the autoconf test has not changed since then. cygport sets
>ac_cv_func_mmap_fixed_mapped=yes for this very reason.
FWIW, this test doesn't really matter to my build of grep since it
is not used when cross-compiling.
cgf
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple