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>
Tue, 18 Dec 2018 21:02:47 +0000 (16:02 -0500)
commit1c924ae9ddb1f1c0f1092df49ce25e7f40667240
tree0719eed5d928c793073595f36caaf02b63be3b40
parent97d70885f5214726916f06ea91b65ef1e701b41b
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.025439 seconds and 4 git commands to generate.