[PATCH] ntdll: Avoid repeated FIXME messages in NtQueryInformationThread
qaisjp at gmail.com
qaisjp at gmail.com
Mon Jun 17 18:12:25 CDT 2019
From: Qais Patankar <qaisjp at gmail.com>
This complements commit 01c2af446a325bcb5535ee1665a4abc7fa99c2fd which
was intended to make the messages from #36821 less noisy.
The messages now made less noisy are of this pattern:
003f:fixme:thread:NtQueryInformationThread info class 22 not supported yet
Links:
- https://source.winehq.org/git/wine.git/commitdiff/01c2af446a325bcb5535ee1665a4abc7fa99c2fd
- https://bugs.winehq.org/show_bug.cgi?id=36821
---
dlls/ntdll/thread.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/dlls/ntdll/thread.c b/dlls/ntdll/thread.c
index f837062..8929033 100644
--- a/dlls/ntdll/thread.c
+++ b/dlls/ntdll/thread.c
@@ -1073,7 +1073,8 @@ NTSTATUS WINAPI NtQueryInformationThread( HANDLE handle, THREADINFOCLASS class,
case ThreadPriorityBoost:
case ThreadSetTlsArrayAddress:
default:
- FIXME( "info class %d not supported yet\n", class );
+ static int once;
+ if (!once++) FIXME( "info class %d not supported yet\n", class );
return STATUS_NOT_IMPLEMENTED;
}
}
--
2.21.0
More information about the wine-devel
mailing list