summaryrefslogtreecommitdiffabout
authorSergey Poznyakoff <gray@gnu.org>2019-06-10 11:43:17 (GMT)
committer Sergey Poznyakoff <gray@gnu.org>2019-06-10 11:43:17 (GMT)
commit186b9a1c99988844c5ea3fcce1fcc6cadb491206 (patch) (side-by-side diff)
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
Diffstat (more/less context) (ignore whitespace changes)
-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
@@ -458,7 +458,7 @@ component_build_depmap (void)
_("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);

Return to:

Send suggestions and report system problems to the System administrator.