[PATCH] print one FIXME just once
Marcus Meissner
meissner at suse.de
Sat Sep 27 11:47:48 CDT 2008
Hi,
print:
fixme:ntdll:NtLockFile I/O completion on lock not implemented yet
just once.
Ciao, Marcus
---
dlls/ntdll/file.c | 6 +++++-
1 files changed, 5 insertions(+), 1 deletions(-)
diff --git a/dlls/ntdll/file.c b/dlls/ntdll/file.c
index 3dee4ee..8fd89e2 100644
--- a/dlls/ntdll/file.c
+++ b/dlls/ntdll/file.c
@@ -2408,6 +2408,7 @@ NTSTATUS WINAPI NtLockFile( HANDLE hFile, HANDLE lock_granted_event,
NTSTATUS ret;
HANDLE handle;
BOOLEAN async;
+ static int ioerrorprinted = 0;
if (apc || io_status || key)
{
@@ -2415,7 +2416,10 @@ 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 && !ioerrorprinted) {
+ ioerrorprinted = 1;
+ FIXME("I/O completion on lock not implemented yet\n");
+ }
for (;;)
{
--
1.5.6
More information about the wine-patches
mailing list