path: root/src/comp.c
authorSergey Poznyakoff <>2019-06-10 11:43:17 (GMT)
committer Sergey Poznyakoff <>2019-06-10 11:43:17 (GMT)
commit186b9a1c99988844c5ea3fcce1fcc6cadb491206 (patch) (side-by-side diff)
tree499086dd8d14f94f8a23e0604e43ddf0a5fd5d3c /src/comp.c
parent588fbc95959785566d6929784d73db9c167433a1 (diff)
Fix coredump
* src/comp.c (component_build_depmap): Defer removal of the component to the end of the run
Diffstat (limited to 'src/comp.c') (more/less context) (ignore whitespace changes)
1 files changed, 1 insertions, 1 deletions
diff --git a/src/comp.c b/src/comp.c
index 06b5772..7056855 100644
--- a/src/comp.c
+++ b/src/comp.c
@@ -455,13 +455,13 @@ component_build_depmap (void)
if (tgt < 0)
logmsg (LOG_ERR,
_("component %s depends on %s, "
"which is not declared"),
comp->tag, tag);
- comp_array_remove (i);
+ comp_array[i]->flags |= CF_REMOVE;
depmap_set (depmap, i, tgt);
if (comp->depend)

Return to:

Send suggestions and report system problems to the System administrator.