Win2000 anybody?

Dave Korn
Wed Feb 27 17:03:00 GMT 2008

On 27 February 2008 16:46, Corinna Vinschen wrote:
> When running readdir() it doesn't find any file in the directory.  The
> reason is that the first call to NtQueryDirectoryFile in
> fhandler_disk_file::readdir() fails with a very strange error I never
> saw before and I don't find any useful information about on the net:

  It means the remote server did not understand (or the redirector could not

  Was this Samba or a real windows CIFS/SMB server?

> If I switch the NtQueryDirectoryFile call to retrieve only one entry per
> call, it works fine!  But it fails always with the above status code if
> I let it retrieve as much entries as fit in the buffer.
> I tracked down exactly when I introduced this problem:
> But I have not the faintest idea what is causing it.  Blaeh :(
> Maybe we should drop Win2K support...

  Nah, let's implement the workaround ;-)

Can't think of a witty .sigline today....

More information about the Cygwin-developers mailing list