Austin English : ntdll: Quiet a noisy fixme.

Alexandre Julliard julliard at winehq.org
Wed Oct 8 08:33:12 CDT 2008


Module: wine
Branch: master
Commit: a1e615813f984215a906c992268a5c8ffba9c3d8
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=a1e615813f984215a906c992268a5c8ffba9c3d8

Author: Austin English <austinenglish at gmail.com>
Date:   Tue Oct  7 13:07:22 2008 -0500

ntdll: Quiet a noisy fixme.

---

 dlls/ntdll/file.c |    7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)

diff --git a/dlls/ntdll/file.c b/dlls/ntdll/file.c
index 52e75ab..50fa651 100644
--- a/dlls/ntdll/file.c
+++ b/dlls/ntdll/file.c
@@ -2416,6 +2416,7 @@ NTSTATUS WINAPI NtLockFile( HANDLE hFile, HANDLE lock_granted_event,
     NTSTATUS    ret;
     HANDLE      handle;
     BOOLEAN     async;
+    static BOOLEAN     warn = TRUE;
 
     if (apc || io_status || key)
     {
@@ -2423,7 +2424,11 @@ NTSTATUS WINAPI NtLockFile( HANDLE hFile, HANDLE lock_granted_event,
         return STATUS_NOT_IMPLEMENTED;
     }
 
-    if (apc_user) FIXME("I/O completion on lock not implemented yet\n");
+    if (apc_user && warn)
+    {
+        FIXME("I/O completion on lock not implemented yet\n");
+        warn = FALSE;
+    }
 
     for (;;)
     {




More information about the wine-cvs mailing list