Fix: run_command_wait() handle partial write
authorMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Thu, 13 Dec 2018 18:56:35 +0000 (13:56 -0500)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Mon, 14 Jan 2019 22:56:28 +0000 (17:56 -0500)
commit58d3fed5a62a82ce8487dce41a3092e79a9bca15
treef3067c7d11a1045243b9647abdfb358777d9ac1f
parenta5d64ae7893cc1d2b595614a8f8e3d03c401cf39
Fix: run_command_wait() handle partial write

Use lttng_write() to handle partial writes (writing less than the
requested amount of bytes) as well as ret = -1, errno = EINTR.

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
src/bin/lttng-sessiond/notification-thread-commands.c
This page took 0.025141 seconds and 4 git commands to generate.