Troy Rollo <wine(a)troy.rollo.name> writes:
> @@ -412,7 +412,7 @@
> {
> int ret, cookie;
>
> - if (count > MAXIMUM_WAIT_OBJECTS) return STATUS_INVALID_PARAMETER_1;
> + if (count > MAXIMUM_WAIT_OBJECTS || count <= 0) return
> STATUS_INVALID_PARAMETER_1;
This is wrong, 0 is a valid count, and shouldn't cause an infinite
loop. You'll need to debug this some more.
--
Alexandre Julliard
julliard(a)winehq.com