This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: several more bugs found by coreutils


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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]