This is the mail archive of the
cygwin-developers@cygwin.com
mailing list for the Cygwin project.
Re: ./.. changed during execution of find
- From: Corinna Vinschen <vinschen at redhat dot com>
- To: cygwin-developers at cygwin dot com
- Date: Fri, 14 May 2004 16:22:15 +0200
- Subject: Re: ./.. changed during execution of find
- References: <40A4CB07.93BF544@ieee.org>
- Reply-to: cygwin-developers at cygwin dot com
On May 14 09:35, Pierre A. Humblet wrote:
> 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.
Right. I'm just surprised how easily the situation would have been
reproducible and we both failed to reproduce it. We should give back
at least one gold star.
Corinna
--
Corinna Vinschen Please, send mails regarding Cygwin to
Cygwin Co-Project Leader mailto:cygwin@cygwin.com
Red Hat, Inc.