Win2000 anybody?

Dave Korn dave.korn@artimi.com
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:
> 
>   0xC00000C3 STATUS_INVALID_NETWORK_RESPONSE

  It means the remote server did not understand (or the redirector could not
translate) an IRP_MJ_FILE_SYSTEM_CONTROL.

http://msdn2.microsoft.com/en-us/library/aa489283.aspx

  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:
> 
>   http://cygwin.com/ml/cygwin-cvs/2007-q3/msg00058.html
> 
> But I have not the faintest idea what is causing it.  Blaeh :(
> Maybe we should drop Win2K support...

  Nah, let's implement the workaround ;-)


    cheers,
      DaveK
-- 
Can't think of a witty .sigline today....



More information about the Cygwin-developers mailing list