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, 21 Jan 2019 21:29:26 +0000 (16:29 -0500)
commit9799868ecf450c395ed0cbe95f47fbe9e1566481
treeb547fd5952cc7b8309aa48c0d2b8065ac999a279
parent58081c6ee2049630eaedd798cd21f494772f4b69
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.026124 seconds and 5 git commands to generate.