projects
/
babeltrace.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Generate a binary looking for in-tree plug-ins
[babeltrace.git]
/
lib
/
bin-info.c
diff --git
a/lib/bin-info.c
b/lib/bin-info.c
index 55808eb0abb0675f5e9c809b53975597965a6252..65f9051fb00efe087c24c1fe9f66696cf081ebd1 100644
(file)
--- a/
lib/bin-info.c
+++ b/
lib/bin-info.c
@@
-329,12
+329,12
@@
int is_valid_debug_file(char *path, uint32_t crc)
uint32_t _crc = 0;
if (!path) {
uint32_t _crc = 0;
if (!path) {
- goto end;
+ goto end
_noclose
;
}
fd = open(path, O_RDONLY);
if (fd < 0) {
}
fd = open(path, O_RDONLY);
if (fd < 0) {
- goto end;
+ goto end
_noclose
;
}
ret = crc32(fd, &_crc);
}
ret = crc32(fd, &_crc);
@@
-347,6
+347,7
@@
int is_valid_debug_file(char *path, uint32_t crc)
end:
close(fd);
end:
close(fd);
+end_noclose:
return ret;
}
return ret;
}
@@
-1036,7
+1037,7
@@
int bin_info_child_die_has_address(struct bt_dwarf_die *die, uint64_t addr, bool
goto error;
}
goto error;
}
- if (contains) {
+ if (
_
contains) {
goto end;
}
}
goto end;
}
}
This page took
0.02437 seconds
and
4
git commands to generate.