We remove those close, since they are done in the call to ltt_trace_destroy() The double close is making the test to fail, since they trigger unwanted warnings
Signed-off-by: Yannick Brosseau <[email protected]> --- libust/tracectl.c | 8 -------- 1 files changed, 0 insertions(+), 8 deletions(-) diff --git a/libust/tracectl.c b/libust/tracectl.c index 1bd7229..8e2a249 100644 --- a/libust/tracectl.c +++ b/libust/tracectl.c @@ -1589,14 +1589,6 @@ static void ust_fork(void) /* Delete all blocked consumers */ cds_list_for_each_entry_safe(buf, buf_tmp, &open_buffers_list, open_buffers_list) { - result = close(buf->data_ready_fd_read); - if (result == -1) { - PERROR("close"); - } - result = close(buf->data_ready_fd_write); - if (result == -1) { - PERROR("close"); - } cds_list_del(&buf->open_buffers_list); } -- 1.7.2.3 _______________________________________________ ltt-dev mailing list [email protected] http://lists.casi.polymtl.ca/cgi-bin/mailman/listinfo/ltt-dev
