X-Spam-Check-By: sourceware.org
Message-ID: <455B113B.9070002@byu.net>
Date: Wed, 15 Nov 2006 06:08:11 -0700
From: Eric Blake <ebb9@byu.net>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.0.8) Gecko/20061025 Thunderbird/1.5.0.8 Mnenhy/0.7.4.666
MIME-Version: 1.0
To: cygwin@cygwin.com
Subject: Re: [patch] cygport, find ... -exec
References: <455AC3CA.7010705@cwilson.fastmail.fm>
In-Reply-To: <455AC3CA.7010705@cwilson.fastmail.fm>
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
X-IsSubscribed: yes
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
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

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

According to Charles Wilson on 11/15/2006 12:37 AM:
> Usually, the 'find ... -exec cmd ...' idiom makes a lot of sense -- it's
> faster, one fewer forks (maybe MANY fewer), etc.
> 
> However, you sometimes run into troubles with extremely long filelists.
> As I did with ncurses (1183 files in the build/ directory) -- and I got
> a 'too many files' error from touch resulting from this command in
> __prepinstalldirs:
> 
> find ${B} -type f -exec touch -t $(date +%Y%m%d%H%M.%S) '{}' +;

Which version of find?  I know there was an upstream bug report to
findutils that 'find -exec {} +' was not sharing the same logic as xargs
in 4.3.0, but that was supposed to be fixed in find 4.3.1.  If it is a
legitimate find bug, I'd like to get it fixed upstream.

- --
Life is short - so eat dessert first!

Eric Blake             ebb9@byu.net
volunteer cygwin findutils maintainer
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Cygwin)
Comment: Public key at home.comcast.net/~ericblake/eblake.gpg
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFFWxE784KuGfSFAYARAjfwAJ9JV5AE5lInZ45lCvfwlg9UzceFgQCfY8nO
2OvF4A0OamDCpoAPR7Q8TZg=
=s/je
-----END PGP SIGNATURE-----

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

