ntdll.NtPulseEvent: Don't print FIXME for an optional parameter if it isn't used

Rolf Kalbermatter rolf.kalbermatter at citeng.com
Thu Apr 1 03:49:22 CST 2004


Changelog
  dlls/ntdll/sync.c
    Don't print FIXME for an optional parameter if it isn't used. In an
    application I have, this causes endless FIXMEs as the kernel.PulseEvent
    function, which doesn't use this parameter, is called many times each
    second.
    As it is a wine server call I'm not sure how to go about actually fixing
    the FIXME itself.

License: X11/LGPL

Rolf Kalbermatter

RCS file: /home/wine/wine/dlls/ntdll/sync.c,v
retrieving revision 1.34
diff -u -r1.34 sync.c
--- dlls/ntdll/sync.c	23 Jan 2004 01:51:34 -0000	1.34
+++ dlls/ntdll/sync.c	31 Mar 2004 23:57:53 -0000
@@ -262,7 +262,10 @@
 NTSTATUS WINAPI NtPulseEvent( HANDLE handle, PULONG PulseCount )
 {
     NTSTATUS ret;
-    FIXME("(%p,%p)\n", handle, PulseCount);
+
+    if (PulseCount)
+      FIXME("(%p,%ld)\n", handle, *PulseCount);
+
     SERVER_START_REQ( event_op )
     {
         req->handle = handle;




More information about the wine-patches mailing list