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: [ANNOUNCEMENT] Public Cygwin 1.7 test starts today


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

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

- --
Don't work too hard, make some time for fun as well!

Eric Blake             ebb9@byu.net
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (Cygwin)
Comment: Public key at home.comcast.net/~ericblake/eblake.gpg
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAklCh7EACgkQ84KuGfSFAYBe1gCdFuFbUYxZGKzt+bgGEFBLK2tw
AeIAnROjqNEt4D6j7+sOwLke21iBb8LD
=kzvN
-----END PGP SIGNATURE-----

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