X-Recipient: archive-cygwin@delorie.com
X-SWARE-Spam-Status: No, hits=-2.5 required=5.0 	tests=AWL,BAYES_00,SPF_PASS
X-Spam-Check-By: sourceware.org
Message-ID: <4AF70D91.6090906@users.sourceforge.net>
Date: Sun, 08 Nov 2009 12:27:29 -0600
From: "Yaakov (Cygwin/X)" <yselkowitz@users.sourceforge.net>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.1.4pre) Gecko/20090915 Thunderbird/3.0b4
MIME-Version: 1.0
To: cygwin@cygwin.com
Subject: Re: 1.7] BUG - GREP slows to a crawl with large number of matches      on   a single file
References: <26224019.post@talk.nabble.com>  <4AF393C6.3000505@tlinx.org>  <20091106033243.GB30410@ednor.casa.cgf.cx>  <4AF42027.80604@towo.net>  <20091106135152.GK26344@calimero.vinschen.de>  <814i7o$49eric@dmzms99802.na.baesystems.com>  <806a89db0911061422l290ff84u3d58cbbe1d3eface@mail.gmail.com>  <1257632832.5773.48.camel@fast>  <26249599.post@talk.nabble.com>  <20091108103038.GY26344@calimero.vinschen.de> <20091108135602.GA26344@calimero.vinschen.de>
In-Reply-To: <20091108135602.GA26344@calimero.vinschen.de>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com

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.


Yaakov

--
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

