commit | 52609ddf79a96fee0465006e2c6339a3a5d23a87 | [log] [tgz] |
---|---|---|
author | Derek Foreman <derekf@osg.samsung.com> | Wed Dec 06 11:22:19 2017 -0600 |
committer | Daniel Stone <daniels@collabora.com> | Wed Dec 27 14:14:04 2017 +0000 |
tree | ff49471c2b85b28352d8790da0e320afd45eca31 | |
parent | e802094c9b6927148d1a7249af9ead49673f22b9 [diff] |
connection: Clear fds we shouldn't close to -1 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 <derekf@osg.samsung.com> Reviewed-by: Daniel Stone <daniels@collabora.com>