Re: [PATCH] ole32: Avoid console flood with an ERR message
16 Nov
2010
16 Nov
'10
1:17 p.m.
Detlef Riekenberg <wine.dev(a)web.de> writes:
@@ -3657,7 +3657,14 @@ HRESULT WINAPI CoWaitForMultipleHandles(DWORD dwFlags, DWORD dwTimeout, } else { - ERR("Unexpected wait termination: %d, %d\n", res, GetLastError()); + static DWORD old_res; + static DWORD old_lasterror; + if ((res != old_res) || (GetLastError() != old_lasterror)) + { + old_res = res; + old_lasterror = GetLastError(); + ERR("Unexpected wait termination: %d, %d\n", res, GetLastError()); + }
That's just hiding the problem. -- Alexandre Julliard julliard(a)winehq.org
5595
Age (days ago)
5595
Last active (days ago)
0 comments
1 participants
participants (1)
-
Alexandre Julliard