Alexandre Bique : ntdll: Fixme once for NtFlushInstructionCache().

Alexandre Julliard julliard at winehq.org
Mon Dec 16 13:02:32 CST 2013


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

Author: Alexandre Bique <bique.alexandre at gmail.com>
Date:   Fri Dec 13 00:34:10 2013 +0100

ntdll: Fixme once for NtFlushInstructionCache().

---

 dlls/ntdll/process.c |    8 ++++++--
 1 files changed, 6 insertions(+), 2 deletions(-)

diff --git a/dlls/ntdll/process.c b/dlls/ntdll/process.c
index 88a9e41..1c9286f 100644
--- a/dlls/ntdll/process.c
+++ b/dlls/ntdll/process.c
@@ -561,11 +561,15 @@ NTSTATUS WINAPI NtFlushInstructionCache(
         IN LPCVOID BaseAddress,
         IN SIZE_T Size)
 {
+    static int once;
+    if (!once++)
+    {
 #ifdef __i386__
-    TRACE("%p %p %ld - no-op on x86\n", ProcessHandle, BaseAddress, Size );
+        TRACE("%p %p %ld - no-op on x86\n", ProcessHandle, BaseAddress, Size );
 #else
-    FIXME("%p %p %ld\n", ProcessHandle, BaseAddress, Size );
+        FIXME("%p %p %ld\n", ProcessHandle, BaseAddress, Size );
 #endif
+    }
     return STATUS_SUCCESS;
 }
 




More information about the wine-cvs mailing list