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: 1.5.21-1 readdir() not returning complete directory entries for network paths after rewinddir()

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 a try.


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

Unsubscribe info:
Problem reports:

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