X-Recipient: archive-cygwin@delorie.com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
	:list-unsubscribe:list-subscribe:list-archive:list-post
	:list-help:sender:message-id:date:from:mime-version:to:subject
	:references:in-reply-to:content-type:content-transfer-encoding;
	 q=dns; s=default; b=D7rGVOd9oPeRfpn6hq6FIvrbk9BXjlPjaXiL8a+LXnN
	/Z55XMqvG3Zhc9poupa8LmeVmAEwKonBOPhdO8U6q6r2Gsioqjjag8rFFgoXt5SH
	iY9yui8uh0NL+2EERZgfRfNfuFl5bYNP4gOlHAddgtA63KT0zId+4Bgk2rdR1NhQ
	=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
	:list-unsubscribe:list-subscribe:list-archive:list-post
	:list-help:sender:message-id:date:from:mime-version:to:subject
	:references:in-reply-to:content-type:content-transfer-encoding;
	 s=default; bh=7Uk0avFlG4gH6tyDpYhm5qmJ7ew=; b=DyGS78cFvkLviACAS
	9Gw5+P0Q/s74uGRp/pZ3puYlZtIBzppIWSI4IC8kpLDHgmHmNSx76rbienGL1qyq
	j9y99Jxrau8pi68IrqvYmlBlUr5XllokmeZLtN0RUT2I/hWzPhbZk8gTuVJO+yli
	BD/v8wv4lXSaRANEcB1Ww9XxoA=
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
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=-1.6 required=5.0 tests=AWL,BAYES_00,RP_MATCHES_RCVD autolearn=ham version=3.3.2
X-HELO: Ishtar.tlinx.org
Message-ID: <534DDB61.8010207@tlinx.org>
Date: Tue, 15 Apr 2014 18:22:41 -0700
From: Linda Walsh <cygwin@tlinx.org>
User-Agent: Thunderbird
MIME-Version: 1.0
To: cygwin@cygwin.com
Subject: Re: core-dump, cygwin64-only in locate in 4.5.11.1
References: <534C5961.4090609@tlinx.org> <20140415093245.GG3271@calimero.vinschen.de>
In-Reply-To: <20140415093245.GG3271@calimero.vinschen.de>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
X-IsSubscribed: yes

Corinna Vinschen wrote:
> On Apr 14 14:55, Linda Walsh wrote:
>> I updated 77 cygwin pkgs Mar 19, and since have had
>> problems running
>> 'locate' to completion... it dumps core at what
>> appears to be the end of showing files within
>> 18K of the end of a 22M file.

> I can reproduce it and I *think* I found the problem in the source.
> Alas, what we need is a new findutils package.
> 
> Eric, any chance for an update any time soon?
> 
> Corinna
---
Thanks for checking it out!   What is wrong w/it?

FWIW, I just installed the mlocate rpm and built it.
I'm running it's updatedb now, to see how it fairs (mlocate
is the one SuSE used to replace locate.

If it works, it isn't hard to drop-in
replace for locate, though
updatedb has some different invocation options.

A 'feature' (or deficit) of mlocate is that
it checks if you have access to the file before
listing the name of the file via locate.

For small numbers of finds (like "/passwd",
it was faster than 'locate', but for large numbers
of files "/", it was slower because of the access checks.





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

