delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2006/10/23/11:18:34

X-Spam-Check-By: sourceware.org
Date: Mon, 23 Oct 2006 17:18:15 +0200
From: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: 1.5.21-1 readdir() not returning complete directory entries for network paths after rewinddir()
Message-ID: <20061023151815.GC14146@calimero.vinschen.de>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <20061023115039 DOT 131780 AT gmx DOT net> <20061023142109 DOT GB14146 AT calimero DOT vinschen DOT de>
Mime-Version: 1.0
In-Reply-To: <20061023142109.GB14146@calimero.vinschen.de>
User-Agent: Mutt/1.4.2i
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
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 Oct 23 16:21, Corinna Vinschen wrote:
> On Oct 23 13:50, Benjamin Lindner wrote:
> > Hello list,
> > 
> > Issuing a rewinddir() on a mounted network path caues successive calls 
> > to readdir() to only return "." and ".." ignoring the actual further 
> > content of the directory.
> > [...]
> Further debugging showed that this is a bug in W2K.  The function
> NtQueryDirectoryFile apparently ignores the "RestartScan" parameter when
> being called on a remote directory.  It does not depend on the file
> system type, it happens with remote FAT, NTFS as well as Samba shares.
> This bug is not present in NT4, nor in XP and above.

I've applied a patch to CVS.  Please give the next developer's snapshot
from http://cygwin.com/snapshots/ a try.


Thanks,
Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader          cygwin AT cygwin DOT com
Red Hat

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

- Raw text -


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