ntdll: fake success for attribute info in NtQueryVolumeInformationFile

Austin English austinenglish at gmail.com
Thu Jun 23 13:47:26 CDT 2011


Allows Cygwin's wget.exe to successfully download files.

-- 
-Austin
-------------- next part --------------
diff --git a/dlls/ntdll/file.c b/dlls/ntdll/file.c
index 4d49956..697793e 100644
--- a/dlls/ntdll/file.c
+++ b/dlls/ntdll/file.c
@@ -2539,7 +2539,8 @@ NTSTATUS WINAPI NtQueryVolumeInformationFile( HANDLE handle, PIO_STATUS_BLOCK io
         }
         break;
     case FileFsAttributeInformation:
-        FIXME( "%p: attribute info not supported\n", handle );
+        FIXME( "%p: attribute info not supported, faking success\n", handle );
+        io->u.Status = STATUS_SUCCESS;
         break;
     case FileFsControlInformation:
         FIXME( "%p: control info not supported\n", handle );


More information about the wine-patches mailing list