delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2010/08/19/17:36:32

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=0.6 required=5.0 tests=AWL,BAYES_00,RCVD_IN_SORBS_WEB,RCVD_NUMERIC_HELO,SPF_HELO_PASS,T_RP_MATCHES_RCVD
X-Spam-Check-By: sourceware.org
To: cygwin AT cygwin DOT com
From: Rolf Campbell <rcampbell-cygwin AT dragonwaveinc DOT com>
Subject: Re: cygwin 1.7.6: find skipping over some directories on NTFS mount points
Date: Thu, 19 Aug 2010 17:36:08 -0400
Lines: 13
Message-ID: <i4k848$b8q$1@dough.gmane.org>
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> <4C6D5BC5 DOT 6080808 AT redhat DOT com>
Mime-Version: 1.0
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.8) Gecko/20100802 Thunderbird/3.1.2
In-Reply-To: <4C6D5BC5.6080808@redhat.com>
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT 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

On 2010-08-19 12:28, Eric Blake wrote:
> 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?

oldfind displays all 100,000 files.


--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


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