Alexandre Julliard : ntdll: Silence a noisy FIXME.
Alexandre Julliard
julliard at winehq.org
Thu Sep 24 10:55:32 CDT 2009
Module: wine
Branch: master
Commit: 66b9371bb6094bc70eaeb7ade45a76ae9b0a6d59
URL: http://source.winehq.org/git/wine.git/?a=commit;h=66b9371bb6094bc70eaeb7ade45a76ae9b0a6d59
Author: Alexandre Julliard <julliard at winehq.org>
Date: Thu Sep 24 15:32:23 2009 +0200
ntdll: Silence a noisy FIXME.
---
dlls/ntdll/file.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/dlls/ntdll/file.c b/dlls/ntdll/file.c
index 62f6743..4ad84dc 100644
--- a/dlls/ntdll/file.c
+++ b/dlls/ntdll/file.c
@@ -2243,6 +2243,7 @@ NTSTATUS WINAPI NtQueryVolumeInformationFile( HANDLE handle, PIO_STATUS_BLOCK io
{
int fd, needs_close;
struct stat st;
+ static int once;
if ((io->u.Status = server_get_unix_fd( handle, 0, &fd, &needs_close, NULL, NULL )) != STATUS_SUCCESS)
return io->u.Status;
@@ -2253,7 +2254,7 @@ NTSTATUS WINAPI NtQueryVolumeInformationFile( HANDLE handle, PIO_STATUS_BLOCK io
switch( info_class )
{
case FileFsVolumeInformation:
- FIXME( "%p: volume info not supported\n", handle );
+ if (!once++) FIXME( "%p: volume info not supported\n", handle );
break;
case FileFsLabelInformation:
FIXME( "%p: label info not supported\n", handle );
More information about the wine-cvs
mailing list