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: cygwin 1.7.6: find skipping over some directories on NTFS mount points


On 08/19/2010 08:43 AM, Corinna Vinschen wrote:
> Hmm, digging through Cygwin's readdir code, I have a vague idea.
> 
> 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?

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

Attachment: signature.asc
Description: OpenPGP digital signature


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