Re: [PATCH libinput 3/9] path: store the udev device instead of just the devnode

2014-11-24 Thread Hans de Goede
Hi, On 11/24/2014 01:46 AM, Peter Hutterer wrote: Long-term plan to use more of udev_device here is to better protect us against re-opening a different device that happens to have the same devnode. This now also prints an error message for invalid devices, the log tests are adjusted. Signed-of

[PATCH libinput 3/9] path: store the udev device instead of just the devnode

2014-11-23 Thread Peter Hutterer
Long-term plan to use more of udev_device here is to better protect us against re-opening a different device that happens to have the same devnode. This now also prints an error message for invalid devices, the log tests are adjusted. Signed-off-by: Peter Hutterer --- src/path.c | 109 +