This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: [patch] cygport, find ... -exec
- From: Eric Blake <ebb9 at byu dot net>
- To: cygwin at cygwin dot com
- Date: Wed, 15 Nov 2006 06:08:11 -0700
- Subject: Re: [patch] cygport, find ... -exec
- References: <455AC3CA.7010705@cwilson.fastmail.fm>
-----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/