Re: [PATCH wayland v3 04/10] connection: Clear fds we shouldn't close to -1

2017-12-27 Thread Daniel Stone
Hi Derek, On 6 December 2017 at 17:22, Derek Foreman wrote: > This initializes all the fd arguments in closures to -1 and clears > them back to -1 when they've been dispatched or serialized. > > This means that any valid fd in a closure is currently libwayland's >

[PATCH wayland v3 04/10] connection: Clear fds we shouldn't close to -1

2017-12-06 Thread Derek Foreman
This initializes all the fd arguments in closures to -1 and clears them back to -1 when they've been dispatched or serialized. This means that any valid fd in a closure is currently libwayland's responsibility to close in the case of an error. Signed-off-by: Derek Foreman