delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2010/08/19/12:30:19

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-6.8 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_HI,SPF_HELO_PASS,T_RP_MATCHES_RCVD
X-Spam-Check-By: sourceware.org
Message-ID: <4C6D5BC5.6080808@redhat.com>
Date: Thu, 19 Aug 2010 10:28:53 -0600
From: Eric Blake <eblake AT redhat DOT com>
User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.7) Gecko/20100720 Fedora/3.1.1-1.fc13 Lightning/1.0b2pre Mnenhy/0.8.3 Thunderbird/3.1.1
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: cygwin 1.7.6: find skipping over some directories on NTFS mount points
References: <i4ho35$jsk$1 AT dough DOT gmane DOT org> <20100819083117 DOT GO11340 AT calimero DOT vinschen DOT de> <i4jcq9$hr$1 AT dough DOT gmane DOT org> <20100819144309 DOT GC19001 AT calimero DOT vinschen DOT de>
In-Reply-To: <20100819144309.GC19001@calimero.vinschen.de>
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

--------------enig845C5F31D6BE0F0F0C919FCC
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

On 08/19/2010 08:43 AM, Corinna Vinschen wrote:
> Hmm, digging through Cygwin's readdir code, I have a vague idea.
>=20
> Eric, does find honor the struct dirent d_type flag?  I'm wondering
> if d_type is erroneously set to DT_REG for some reason.  If so, we
> could find this out by augmenting the debug output in the Cygwin DLL.

find (but not oldfind) relies heavily on the d_type flag.  If that flag
is incorrect, it could explain why find gets lost.  Could you repeat the
experiment with 'oldfind' and see if that behaves better?

--=20
Eric Blake   eblake AT redhat DOT com    +1-801-349-2682
Libvirt virtualization library http://libvirt.org


--------------enig845C5F31D6BE0F0F0C919FCC
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.14 (GNU/Linux)
Comment: Public key at http://people.redhat.com/eblake/eblake.gpg
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org/

iQEcBAEBCAAGBQJMbVvJAAoJEKeha0olJ0Nqsd4IAK2p755WScr/WAsp1wCFm4uj
uTu15vjRz+2pg3xW/HMXSWcIEvdqxNhUZDCtyvQtZWh/UYei4rM7ft0QC4F90TP8
BME9pcIGjUUXg7evEuyA97jC/iYesdKHo0mJ3hRTeoOUEhnmPitiJO6OSlcOXeF1
OJeFv+SxT2yAMwHQXXfx7czLOH55hsdC3XlS5ZOuQkv5/96NNkPP+TZCqdmqtWgV
4bKZpbR0QO7tvJCxnNLcX0GWbADEdnzjh4DaOwDxGvFegNGEd2mqOkI1Yg2zk9cW
QIYJEtKfZvLgyqk0YX7D9QSk5EIWxpFHS/v6HdDYgaMKI3MNQ1lWWD0HqYiay7s=
=a95U
-----END PGP SIGNATURE-----

--------------enig845C5F31D6BE0F0F0C919FCC--

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019