This is the mail archive of the
cygwin-developers@cygwin.com
mailing list for the Cygwin project.
./.. changed during execution of find
- From: "Pierre A. Humblet" <Pierre dot Humblet at ieee dot org>
- To: cygwin-developers at cygwin dot com
- Date: Fri, 14 May 2004 09:35:04 -0400
- Subject: ./.. changed during execution of find
- Reply-to: Pierre dot Humblet at ieee dot org
The case reported on the list is probably due to a change in chdir.
find scans / and chdir bin.
/bin is c:/cygwin/bin, but the canonical Posix name of that
directory (longest prefix match) is /usr/bin.
Eventually find chdir .. and finds itself in /usr, not
in /
Fixing that means stop using mount_info->conv_to_posix
and going back to normalize_posix_path.
Pierre