several more bugs found by coreutils

Christopher Faylor cgf-no-personal-reply-please@cygwin.com
Tue Feb 1 21:50:00 GMT 2005


On Tue, Feb 01, 2005 at 08:58:03PM +0000, ericblake@comcast.net wrote:
>readdir() populates the dirent.d_ino member with a hashed filename,
>regardless of whether the file is located on NTFS and actually has an
>inode.  This means that readdir() and stat()'s idea of inode are
>different, and this breaks the pwd program (it tries to find a
>directory member in ".." using readdir that has the same node as "."
>according to stat).

This is not going to be fixed.  It's a longstanding problem.  There is
no eay way to fix it which would not engender a slowdown in readdir
for a little-used feature.

cgf

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