X-Spam-Check-By: sourceware.org Message-ID: <455B113B.9070002@byu.net> Date: Wed, 15 Nov 2006 06:08:11 -0700 From: Eric Blake 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 AT cygwin DOT com Subject: Re: [patch] cygport, find ... -exec References: <455AC3CA DOT 7010705 AT cwilson DOT fastmail DOT 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 AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT 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 AT byu DOT 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/