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] |
According to Corinna Vinschen on 12/12/2008 7:58 AM:I don't think it's the right way to special case this for Cygwin in kpathsea. This isn't exactly a Cygwin issue. The right thing to do would be to change the test in a generic fashion from
if (st_nlink > 2)
to
if (st_nlink != 2)
More generally, it is possible to optimize to spot the number of subdirectories when st_nlink >= 2. The point is that the optimization is invalid if st_nlink < 2, on any file system (not just cygwin).
-- 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] |