[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Patch] Add dirent.d_type support to Cygwin 1.7 ?
From: |
Eric Blake |
Subject: |
Re: [Patch] Add dirent.d_type support to Cygwin 1.7 ? |
Date: |
Thu, 27 Nov 2008 15:53:13 -0700 |
User-agent: |
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.18) Gecko/20081105 Thunderbird/2.0.0.18 Mnenhy/0.7.5.666 |
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
[dropping cygwin-patches, since posts are closed to non-subscribers, and
adding bug-findutils and bug-gnulib. Christian is working on a patch that
lets cygwin do initial support of dirent.d_type]
According to Christian Franke on 11/27/2008 2:41 PM:
>
> PS: find is not as smart as expected: 'find /path -type d' calls lstat()
> for each entry, even if d_type != DT_UNKNOWN.
> So 'find /path' is 2-3 times faster than 'find /path -type d'.
This seems like it might be a bug in gnulib's fts implementation. How
does 'oldfind /path -type d' perform? oldfind has the advantage of not
using fts, so if it performs better, then there is a hole where we need to
improve gnulib's fts to make directory-only or non-directory-only
traversals use d_type for optimization.
- --
Don't work too hard, make some time for fun as well!
Eric Blake address@hidden
-----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
iEYEARECAAYFAkkvJNgACgkQ84KuGfSFAYBCFwCgtMrYcQtNVHecyzFXh7iMjIhM
PAIAn3gN5BuAThKa9cUrEc2KXac3mN8r
=QG08
-----END PGP SIGNATURE-----
- Re: [Patch] Add dirent.d_type support to Cygwin 1.7 ?,
Eric Blake <=
- Re: [Patch] Add dirent.d_type support to Cygwin 1.7 ?, James Youngman, 2008/11/28
- Re: [Patch] Add dirent.d_type support to Cygwin 1.7 ?, Jim Meyering, 2008/11/28
- Re: [Patch] Add dirent.d_type support to Cygwin 1.7 ?, James Youngman, 2008/11/29
- Re: [Patch] Add dirent.d_type support to Cygwin 1.7 ?, Jim Meyering, 2008/11/29
- Re: [Patch] Add dirent.d_type support to Cygwin 1.7 ?, Jim Meyering, 2008/11/29
- Re: [Patch] Add dirent.d_type support to Cygwin 1.7 ?, Jim Meyering, 2008/11/29
- Re: [Patch] Add dirent.d_type support to Cygwin 1.7 ?, Jim Meyering, 2008/11/29
- Re: [Patch] Add dirent.d_type support to Cygwin 1.7 ?, James Youngman, 2008/11/29
- Re: [Patch] Add dirent.d_type support to Cygwin 1.7 ?, James Youngman, 2008/11/30
- Re: [Patch] Add dirent.d_type support to Cygwin 1.7 ?, Jim Meyering, 2008/11/29