SERVER: Only reset the notify event flag if there's no events
pending.
Alexandre Julliard
julliard at winehq.org
Fri Mar 24 05:55:59 CST 2006
Mike McCormack <mike at codeweavers.com> writes:
> diff --git a/server/change.c b/server/change.c
> index 4349d7e..67a47af 100644
> --- a/server/change.c
> +++ b/server/change.c
> @@ -1130,7 +1130,7 @@ DECL_HANDLER(read_directory_changes)
> dir->signaled--;
>
> /* clear the event */
> - if (event)
> + if (event && !dir->signaled)
> reset_event( event );
This breaks the tests:
change.c:518: Test failed: action wrong
change.c:522: Test failed: ov.Internal wrong
change.c:523: Test failed: ov.InternalHigh wrong
change.c:582: Test failed: should timeout
change.c:590: Test failed: ov.Internal wrong
change.c:603: Test failed: should timeout
change.c:669: Test failed: should timeout
make[1]: *** [change.ok] Error 7
--
Alexandre Julliard
julliard at winehq.org
More information about the wine-devel
mailing list