aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Poznyakoff <gray@gnu.org>2019-06-10 14:43:17 +0300
committerSergey Poznyakoff <gray@gnu.org>2019-06-10 14:43:17 +0300
commit186b9a1c99988844c5ea3fcce1fcc6cadb491206 (patch)
tree499086dd8d14f94f8a23e0604e43ddf0a5fd5d3c
parent588fbc95959785566d6929784d73db9c167433a1 (diff)
downloadpies-186b9a1c99988844c5ea3fcce1fcc6cadb491206.tar.gz
pies-186b9a1c99988844c5ea3fcce1fcc6cadb491206.tar.bz2
Fix coredump
* src/comp.c (component_build_depmap): Defer removal of the component to the end of the run
-rw-r--r--src/comp.c2
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;
continue;
}
depmap_set (depmap, i, tgt);
}
if (comp->depend)

Return to:

Send suggestions and report system problems to the System administrator.