From mboxrd@z Thu Jan 1 00:00:00 1970 From: yannick.brosseau@gmail.com (Yannick Brosseau) Date: Tue, 22 Feb 2011 18:57:36 -0500 Subject: [ltt-dev] [UST PATCH] Remove the close of the buffers data_ready_fd_* in ust_fork Message-ID: <1298419056-4654-1-git-send-email-yannick.brosseau@gmail.com> 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 --- 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