From: Mathieu Desnoyers Date: Mon, 5 Jan 2015 21:43:05 +0000 (-0500) Subject: Fix: compat poll: add missing empty revents checks X-Git-Tag: v2.5.4~24 X-Git-Url: http://git.liburcu.org/?a=commitdiff_plain;h=6550503d44c075f45b5c15e42d5770a0a5a7d82c;hp=6550503d44c075f45b5c15e42d5770a0a5a7d82c;p=lttng-tools.git Fix: compat poll: add missing empty revents checks Poll returns the entire array, including entries that have no activity. We need to check them explicitly. Fixes #747 Signed-off-by: Mathieu Desnoyers Signed-off-by: Jérémie Galarneau Conflicts: src/bin/lttng-sessiond/ht-cleanup.c ---