This is the mail archive of the
mailing list for the Cygwin project.
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 http://cygwin.com/snapshots/ a try.
Corinna Vinschen Please, send mails regarding Cygwin to
Cygwin Project Co-Leader cygwin AT cygwin DOT com
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html