This is the mail archive of the
cygwin@sourceware.cygnus.com
mailing list for the Cygwin project.
RE: Bug in find?
- To: "'Brian D. Carlstrom'" <bdc at ai dot mit dot edu>, "'gnu-win32 at cygnus dot com'" <gnu-win32 at cygnus dot com>
- Subject: RE: Bug in find?
- From: Edward Avis <EPA at datcon dot co dot uk>
- Date: Mon, 18 May 1998 15:11:28 +0100
>I made the observation that find was not descending into directories
>that had a repeated path segment such as findlosage/quux/foo/foo or
>findlosage/quux/foo/quux. This was running the find starting in the
>findlosage directory.
This is because of the simulated inode numbers. These are calculated
based on the directory name, and hence foo/bar has the same inode number
as foo/bar/bar. On Unix, it makes sense for find to skip a directory if
it has already seen that inode - but it gets confused on Cygwin32.
AFAIK, this problem is not as bad on B19, because the whole path is used
to seed the inode number, not the leafname. So if you're running B18,
I'd suggest moving to the newest version (and coolview, etc.)
--
Ed Avis <http://members.tripod.com/~mave>
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".