Chromium Code Reviews
DescriptionMerge "Fix double-close in EventConverterEvdevImpl"
> This fixes a double close that occurs when a keyboard or mouse is
> unplugged from the system, which will cause breakage if there is a
> concurrent open(). It also switches to a scoped file descriptor wrapper,
> with a special close function because close() can return ENODEV on an
> input device that was unplugged.
>
> BUG=681865, 660960
> TEST=events_unittests
>
> Review-Url: https://codereview.chromium.org/2639043002
> Cr-Commit-Position: refs/heads/master@{#444544}
> (cherry picked from commit 13ad1ff07b21ed9f4b7b5cb7c7cebdff0b8fe0c1)
Review-Url: https://codereview.chromium.org/2657533008 .
Cr-Commit-Position: refs/branch-heads/2924@{#863}
Cr-Branched-From: 3a87aecc31cd1ffe751dd72c04e5a96a1fc8108a-refs/heads/master@{#433059}
Committed: https://chromium.googlesource.com/chromium/src/+/df2217a1a4a5803474b51bd59a1f4ca11160c21d
Patch Set 1 #Messages
Total messages: 2 (1 generated)
|