X-Spam-Check-By: sourceware.org
Message-ID: <443A4FCF.9030800@byu.net>
Date: Mon, 10 Apr 2006 06:30:07 -0600
From: Eric Blake <ebb9@byu.net>
User-Agent: Thunderbird 1.5 (Windows/20051201)
MIME-Version: 1.0
To: cygwin@cygwin.com, jim@cs.ualberta.ca
Subject: Re: find and /cygdrive/c
References: <S561840AbWDIHo7/20060409074506Z+35@sunkay.cs.ualberta.ca>
In-Reply-To: <S561840AbWDIHo7/20060409074506Z+35@sunkay.cs.ualberta.ca>
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 Jim Easton on 4/9/2006 1:44 AM:
> 
> Anyway, find 4.2.27:
> I must have installed 4.3.0 several times :-( I really didn't have a
> good handle on using setup).  oldfind claims he is version 4.3.0 too :-(.
> Funny thing though, they are different sizes, find.exe is 142336 and
> oldfind.exe is 139776 - they both work right.  Different compilers?

No, different versions.  oldfind really is version 4.3.0, but uses the
same hand-rolled traversal algorithm as 4.2.27.  find 4.3.0 introduces a
new algorithm, based on gnulib fts().  The difference in algorithms can be
seen with strace, where a different sequence of syscalls is made between
the two.

> 
> Hope this helps.  :-)  If you like send me the source I would 
> be happy to try it (ie. open vs. opendir) on my machine.

The source for findutils, including the cygwin-specific patches, is
available via setup.exe.  There are checkboxes next to each package in the
chooser screen so that you can download the source of that package to
/usr/src and reproduce how the maintainer built the binary.

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

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

iD8DBQFEOk/P84KuGfSFAYARAhT1AJ9Glvpz1BkEAhO1bXb9MMNg1qrCvQCfdIYs
P18WNaZk9gzUN2D9+yL7jsw=
=kXad
-----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/

