fxt_close closes the underlying fd as well (since fclose does...)
@@ -4955,12 +4955,13 @@ void starpu_fxt_write_data_trace_in_dir(char *filename_in, char *dir)
#ifdef HAVE_FXT_CLOSE
fxt_close(fut);
-#endif
+#else
if (close(fd_in))
{
perror("close failed :");
exit(-1);
}
+#endif
if(fclose(codelet_list))