Avoid duplicate names in /proc/registry (which may crash find) ?
Tue Dec 2 14:50:00 GMT 2008
On Dec 2 07:31, Eric Blake wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> According to Corinna Vinschen on 12/2/2008 5:08 AM:
> > - If find crashes in this situation, isn't this a bug in find which
> > should be fixed in find?
> No. The problem is that readdir() is returning the same name twice, once
> for a directory and once for a file. Even without d_type support, this
> means when you go to stat() that name, you get the same answer twice
Right, but that doesn't mean find should crash. What about a graceful
solution to an obvious problem in the underlying FS?
Corinna Vinschen Please, send mails regarding Cygwin to
Cygwin Project Co-Leader cygwin AT cygwin DOT com
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
More information about the Cygwin