delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2006/04/10/08:30:19

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 AT byu DOT net>
User-Agent: Thunderbird 1.5 (Windows/20051201)
MIME-Version: 1.0
To: cygwin AT cygwin DOT com, jim AT cs DOT ualberta DOT ca
Subject: Re: find and /cygdrive/c
References: <S561840AbWDIHo7/20060409074506Z+35 AT sunkay DOT cs DOT ualberta DOT ca>
In-Reply-To: <S561840AbWDIHo7/20060409074506Z+35@sunkay.cs.ualberta.ca>
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
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 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 AT byu DOT 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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019