projects
/
babeltrace.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Set version to 1.4.0-pre
[babeltrace.git]
/
lib
/
bin-info.c
diff --git
a/lib/bin-info.c
b/lib/bin-info.c
index 14b0dea3de1caf822844e1d80e456104fe7f4390..813c6830e8717c6f7cd1bd081accead14e27bca4 100644
(file)
--- a/
lib/bin-info.c
+++ b/
lib/bin-info.c
@@
-266,8
+266,7
@@
int bin_info_set_dwarf_info_build_id(struct bin_info *bin)
dbg_dir = opt_debug_info_dir ? : DEFAULT_DEBUG_DIR;
dbg_dir = opt_debug_info_dir ? : DEFAULT_DEBUG_DIR;
- /* 2 characters per byte printed in hex, +1 for '/' and +1 for
- * '\0' */
+ /* 2 characters per byte printed in hex, +1 for '/' and +1 for '\0' */
build_id_file_len = (2 * bin->build_id_len) + 1 +
strlen(BUILD_ID_SUFFIX) + 1;
build_id_file = malloc(build_id_file_len);
build_id_file_len = (2 * bin->build_id_len) + 1 +
strlen(BUILD_ID_SUFFIX) + 1;
build_id_file = malloc(build_id_file_len);
@@
-518,7
+517,6
@@
error:
return -1;
}
return -1;
}
-
BT_HIDDEN
void source_location_destroy(struct source_location *src_loc)
{
BT_HIDDEN
void source_location_destroy(struct source_location *src_loc)
{
@@
-529,6
+527,7
@@
void source_location_destroy(struct source_location *src_loc)
free(src_loc->filename);
g_free(src_loc);
}
free(src_loc->filename);
g_free(src_loc);
}
+
/**
* Append a string representation of an address offset to an existing
* string.
/**
* Append a string representation of an address offset to an existing
* string.
This page took
0.024572 seconds
and
4
git commands to generate.