find and /cygdrive/c

Eric Blake ebb9@byu.net
Mon Apr 10 12:39:00 GMT 2006


-----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/



More information about the Cygwin mailing list