[PATCH 1/2] server: Don't create new handle when DUP_HANDLE_CLOSE_SOURCE is used if possible (try2)

Piotr Caban piotr at codeweavers.com
Wed Jun 5 04:23:35 CDT 2013


On 06/04/13 21:56, Alexandre Julliard wrote:
> Piotr Caban <piotr at codeweavers.com> writes:
>
>> @@ -890,6 +890,7 @@ struct rawinput_device
>>       obj_handle_t handle;       /* duplicated handle in dst process */
>>       int          self;         /* is the source the current process? */
>>       int          closed;       /* whether the source handle has been closed */
>> +    int          reused;       /* whether the source handle has been reused */
>
> I don't think you need an extra flag, there's nothing the client has to
> do differently in that case (the warning is mostly cosmetic anyway).
>
I'll send a patch with the warning message removed unless you think that 
it's better to keep it.

Thanks,
Piotr



More information about the wine-devel mailing list