1.5.21-1 readdir() not returning complete directory entries for network paths after rewinddir()
Corinna Vinschen
corinna-cygwin@cygwin.com
Mon Oct 23 15:22:00 GMT 2006
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/
More information about the Cygwin
mailing list