From: Mathieu Desnoyers Date: Wed, 12 Dec 2018 20:11:15 +0000 (-0500) Subject: Fix: handle_notification_thread_command: handle partial read X-Git-Tag: v2.12.0-rc1~677 X-Git-Url: https://git.lttng.org/?a=commitdiff_plain;h=18aeca0536f05906bf4364bc831fd7c769f60608;hp=18aeca0536f05906bf4364bc831fd7c769f60608;p=lttng-tools.git Fix: handle_notification_thread_command: handle partial read Use lttng_read() to handle partial reads (returning less than the requested amount of bytes) as well as ret = -1, errno == EINTR. Signed-off-by: Mathieu Desnoyers Signed-off-by: Jérémie Galarneau ---